Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Did it upgrade correctly?

Status
Not open for further replies.

mufka

ISP
Dec 18, 2000
587
US
I recently upgraded my PHP from 4.0.6 to 4.2.2 and my Apache from 1.3.24 to 1.3.26. If I look at the phpinfo page, it still shows that it is 4.0.6 and 1.3.24 and it still shows the old build date. Did I do something wrong?

 
I know this sounds obvious, but did you restart the httpd? If so, could it be a browser cache issue?

I tend to overlook the obvious sometimes.
 
I rebooted the server and I've also cleared the cache.

 
Is is possible that both versions of PHP are on your machine, and Apache is still using the old version?

Did you install PHP 4.0.6 and PHP 4.2.2 the same way? ______________________________________________________________________
Never forget that we are
made of the stuff of stars
 
I used the same procedure that I wrote when I installed 4.0.6 to install 4.2.2.

I did the Apache upgrade first. I noticed that PHP still say Apache at 1.3.24. Then I did the PHP upgrade. It still sees it as 4.0.6 and Apache as 1.3.24. The httpd definitely shows ver 1.3.26.
 
I used the --with-apache= option at compile time, as it worked with 4.0.6. Do I need to use --with-apxs instead?
 
That's generally the way I do it. (apsx, I mean).

______________________________________________________________________
Never forget that we are
made of the stuff of stars
 
If you want to build a DSO for Apache you should use the --with-apxs option. The --with-apache option requires you to reconfigure and rebuild Apache with the --activate-module option and it would make PHP a built-in module. //Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top