You are here: Re: After upgrading PHP... « PHP Programming Language « IT news, forums, messages
Re: After upgrading PHP...

Posted by Andy Hassall on 11/26/06 14:43

On 26 Nov 2006 03:49:57 -0800, "joe" <green2004@canada.com> wrote:

>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
>here?
>
>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?

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
of versions.

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 :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация