Jump to content

Apache + PHP --> Standard MDK 9.1 packets: Problems...


seantech
 Share

Recommended Posts

Whazzup, fellow MDK-Users?

 

I have 9.1 installed on a remote location, only now I am having web-server problems... Apache seems to be fine it self, but a php script that a friend made doesn't. No, it isn't the script... it has been tried on a server or two and seems to work fine!!!

 

I also heard from a friend that MDK 9.1 --> Apache + PHP --> Php was missing out on php.ini... might that be my problem???

 

 

I would love to hear the answer to my problem asap :P Then again, who wouldn't.

 

Sean

Link to comment
Share on other sites

Here's what I have installed and php works fine for me:

# rpm -qa | grep php

php-gd-4.3.0-2mdk

php-xml-4.3.0-2mdk

php-xmlrpc-4.3.0-2mdk

php-cgi-4.3.1-11.1mdk

apache2-mod_php-2.0.44_4.3.1-2mdk

php-ini-4.3.0-1mdk

php-dba_bundle-4.3.0-4mdk

php-imap-4.3.0-3mdk

php-domxml-4.3.0-2mdk

php-ldap-4.3.0-3mdk

php-manual-en-4.3.0-2mdk

php-pgsql-4.3.0-4mdk

php-pear-4.3.0-3mdk

php-cli-4.3.1-11.1mdk

php-readline-4.3.0-1mdk

php-rrdtool-1.0.40-2mdk

php-xslt-4.3.0-3mdk

php-tclink-4.3.0_3.3.1-12mdk

libphp_common430-430-11.1mdk

phpgroupware-0.9.14.006-0.1mdk

php430-devel-430-11.1mdk

 

It may be overkill, but at first php didn't work for me, so I did:

urpmi php

 

And it said "The following packages contain php: blahblahblah" And I just did

 

urpmi whatever

 

for each one.

Link to comment
Share on other sites

You may want to explain what error you are getting to better troubleshoot what the problem may be.

 

Here's a handy scipt to put in /var/www/html (or wherever your web root is located) that will tell you just about all you want to know about your php install (if it is working):

<?









phpinfo();







?>

*Save as phpinfo.php and call up as you would a web page

 

Also, just had the occasion to install apache2 and php again on a fresh install of Mandrake 9.1. Here's all I installed to get a php-nuke site up and running:

apache2-2.0.47-1.1mdk

apache-conf-2.0.44-11.1mdk

apache2-common-2.0.47-1.2

apache2-modules-2.0.47-1.1mdk

apache2-mod_php-2.0.44_4.3.1-2mdk



libapr0-2.0.47-1.1mdk

libdb4.0-4.0.14-6mdk

libtool-1.4.3-1mdk

lynx-2.8.5-0.13mdk.dev.12



libphp_common430-430-11.1mdk

php-cli-4.3.1-11.1mdk

php-ini-4.3.0-1mdk

 

and I needed to install MySQL for the database:

MySQL-4.0.11a-5mdk

MySQL-common-4.0.11a-5mdk

perl-DBI-1.32-1mdk

MySQL-client-4.0.11a-5mdk

libmysql12-4.0.11a-5mdk

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...