Web Hosting Talk







View Full Version : Installing php 4.06


crathehack
09-16-2001, 03:02 AM
Like an idiot I installed the PHP 4.06 upgrade on my RAQ4. I followed the instructions and added the line 'extension=mysql.so' to the php.ini file. And of course mySQL and PHP aren't working togehter now.

Is there some special location within the php.ini file that statement goes? Also, I tried rebooting the server.. still no go. Any ideas?

crathehack
09-16-2001, 03:14 AM
Bloody hell, it's working fine now - sort off. I don't get it. It was down before.. really it was! Now no site are working. Just phpmyadmin. But, all the site are working locally... same setup. i don't get it.

Can I uninstall this package and reinstall php 4.03?

Chicken
09-16-2001, 01:30 PM
I'm not 100% certain, but it would seem possible to uninstall the version and reinstall the other. Who knows what disaster looms ahead... :(

Pilot
09-20-2001, 02:09 PM
Has anyone else installed PHP 4.0.6 from Cobalt?

I suggest you Email pkgmaster@sun.com with any problems to get them fixed.

I would like to have PHP 4.0.6 so would like to hear from anyone who has successfully applied this package, especially if running VBulletin.

netastic
09-21-2001, 01:18 PM
i am having the same problem with my RaQ4r plus MS FP and ASP are both broke. see my post http://webhostingtalk.com/showthread.php?threadid=20784

BlueBox
09-21-2001, 03:32 PM
not sure about raq4 as we moved from raqs but we did install 4.0.6 on raq3's - but we had to do the following:

Firstly the installer looks for http in /usr/bin not /usr/sbin so you could either soft link it

#: cd /usr/bin
#: ln -s /usr/sbin/httpd httpd

or change the apxs file
and change the $CFG_SBINDIR to the following:

my $CFG_SBINDIR = '/usr/sbin'; # substituted via APACI install


This still leaves a bug in the 4.0.6 installer which has been reported to PHP as it cannot support the -S flag on apxs which the raq uses. After compiling and running make install (with the error) - you need to then manually copy the libphp4.so file to the correct placement (it's in .libs after compiling) -- and insert the LoadModule and AddModule lines into the httpd.conf file

This has worked for us so far!