Web Hosting Talk







View Full Version : PHP 4.2.3 to 4.3.1


sethgarnar
02-25-2003, 03:17 PM
Hello all,

I need to upgrade my PHP version from 4.2.3 to 4.3.1. I orginaly installed PHP using the Apache Tool Box (automated install). I have downloaded the latest php and did the command ./configure --with-mysql, make, make install. After this was done I copied the php.ini-dist from the php/src dir. to /etc/php.ini and restarted apache. When I look at the headers for apache I still see it sending out the version 4.2.3. Did I do this upgrade wrong?

My apache version is 1.3.27 if that helps.


Seth Garnar

VNPIXEL
02-25-2003, 03:19 PM
run /scripts/easyapache

sethgarnar
02-25-2003, 03:22 PM
I do not see that file in the scripts dir.

ChickenSteak
02-25-2003, 04:13 PM
Originally posted by VNPIXEL
run /scripts/easyapache Not all people have cpanel you know? ;).

run php -v and see if it outputs the new version.

sethgarnar
02-25-2003, 04:22 PM
ChickenSteak -- Yeah gives me the new version, but apache header still reports old version. Will it still work ok even if the headers are incorrect?

ChickenSteak
02-25-2003, 04:27 PM
Sethgarnar: Sometimes its cached when you configure php in config.cache. I believe it still will act as if it is the new version just headers will not reflect. Although i'm not positive on this. I do know when I make changes and recompile php that w/e module I compiled in works but dosent show in the configure line or module line. What I recommend doing is doing a fresh install with ur old configure line (just copy it from php info) do a rm -rf /usr/local/php or where ever you have it. Then download 4.3.1 then untar then configure then make then make install. Then it should reflect the new settings.

Edit: also a quick thought - did you restart apache after you patched/installed the newer version of php?

sethgarnar
02-25-2003, 04:31 PM
Well problems I had with some things seem to have cleared up with the upgrade so I think everything is working ok. Thanks for the help.

ChickenSteak
02-25-2003, 04:33 PM
no problem.