Do you have a question? Post it now! No Registration Necessary. Now with pictures!
November 26, 2006, 11:49 am
rate this thread
I had Apache 2.0.59 running on WinXP Home with PHP 5.1.6. I upgraded
PHP 5.1.6 to PHP 5.2.0. My Apache Services Monitor window's status bar
correctly shows me "Apache/2.0.59(Win32) PHP/5.2.0" but when I exectute
a test.php file which has nothing but <? phpinfo() ?>, I see "PHP
5.1.6" as the version. Does anyone has any idea as what is going on
I have restarted a couple of time Aapache after installing PHP 5.2.0. I
also checked the paths of PHPIniDir and it points to PHP 5.2.0 version
and not to PHP 5.1.6.
Is this a bug in PHP or I am doing something wrong?
Re: After upgrading PHP...
This can happen if you've got an older copy of php5ts.dll hanging around in a
directory that's earlier in the PATH environment variable as seen by the
webserver. The webserver loads this, and you end up with an inconsistent mess
The line shown in status comes from php5apache2.dll, but the version in
phpinfo() (and the majority of functionality) comes from php5ts.dll.
Andy Hassall :: email@example.com :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool