Click to See Complete Forum and Search --> : upgrade PHP4 mysql on RH6.2


Anon
08-10-2000, 09:32 PM
I want to install PHP4 on my RedHat 6.2 box. I've already done an rpm -e php to get rid of the php3 that came with the RedHat disk.

Then I installed MySQL 3.22.32 client and server from RPM. Seems ok.

I still have the Apache running that came with the RedHat 6.2 disk, it's Apache 1.3.9

I've been studying various tutorials and documentation and my questions are mounting.

First, is there a definitive procedure for installing PHP4, MySQL, Apache and RedHat 6.2 via RPMs and getting them to play nice together? Heaven would be an instruction set geared to RPMs, not tarballs.

Second, is it better to upgrade Apache, or keep the present version?

Have more questions, but will ask as I go along...

Anon
08-11-2000, 02:00 PM
It worked for me on off-the-shelf RH6.2
with the packages you mentioned, using
Troels' RPMs.

http://fsr.ku.dk/people/troels/rpms/php/

Cheers
//Stefan

Anon
08-11-2000, 02:27 PM
yes, I'd like to use the RPMs from that site. Did you rpm -e the old PHP3 and then rpm -U the new PHP4? I'm asking because I heard there were upgrade issues going from the PHP3 RPM to the PHP4 RPM.

Also, did you use some of the RPMs for LDAP, IMAP, gd, and mysql? If so, do you install those RPMs before installing the base PHP4 RPM or after?

Thank you.

Anon
08-11-2000, 02:39 PM
I see that the instructions at the bottom of the page for the base PHP 4 RPM indicate that the support packages like gd should be installed before the base PHP 4.

I'm guessing that means to install the php-mysql RPM as well.

And when he says to remove PHP 3, I'm assuming he means to use this syntax:
rpm -e php