Bug #66785 [Nab]: PHP_VERSION and non-cli phpinfo() points to 5.5.8

From: Date: Thu, 01 May 2014 18:38:18 +0000
Subject: Bug #66785 [Nab]: PHP_VERSION and non-cli phpinfo() points to 5.5.8
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185559@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66785&edit=1

 ID:                 66785
 Updated by:         ab@php.net
 Reported by:        constantine dot exelsior at gmail dot com
 Summary:            PHP_VERSION and non-cli phpinfo() points to 5.5.8
 Status:             Not a bug
 Type:               Bug
 Package:            Scripting Engine problem
 Operating System:   Windows 8.1
 PHP Version:        5.5.9
 Assigned To:        ab
 Block user comment: N
 Private report:     N

 New Comment:

Hi,

the screenshot illustrates again what you said previously and is nice. However you still didn't
tell what you see with "php -i". Under circumstances that could show that ur pulling a
wrong dll as well.

Also, please get this tool http://technet.microsoft.com/en-us/sysinternals/bb896645
and check from where php5ts.dll is loaded. To do that it's better to set the a filter to
"process name is httpd.exe".

From what I see on your screenshot - it's better not to use relative paths in httpd.conf.

Thanks.


Previous Comments:
------------------------------------------------------------------------
[2014-05-01 17:12:00] nihylum at gmail dot com

http://thor.tr0y.de/php-5.5.12.version-bug.png

picture explaination:
green arrows = version is correct
red arrows = path and configurations
black arrows = version is incorrect

paths that are not visible on the picture:
server root is: /trinity-x64/bin/apache/
web root is: /trinity-x64/htdocs/www/
config is: /trinity-x64/config/

Installation process:
- stop trinity-www ( apache 2.4.7 )
- delete all files from /trinity-x64/bin/php/ exempt: php.ini
- extract php 5.5.12 package from windows.php.net to /trinity-x64/bin/php/
- start trinity-www ( apache 2.4.7 )

There is no other php installation on the entire system. This problem ( i think it is a bug )
happens only while using the apache module.

Tested on: Desktop PC, 2 Ultrabooks with equal installation tasks ( All Windows 8.1 Update 1 x64 ).

------------------------------------------------------------------------
[2014-04-17 13:08:56] ab@php.net

Looks like you're experiencing a configuration issue with your machine. You might indeed load
the php5apache2_4.dll from 5.5.11, but it depends on php5ts.dll which you seem to be loading from
from 5.5.8. I wouldn't even wonder if you see the same error with your console PHP when running
php -i.

To fix this I would suggest

- do a clean install of Apache and PHP
- check your %path% to not to contain other PHP versions
- check your php.ini path to load from the correct location

Thanks

------------------------------------------------------------------------
[2014-04-03 12:02:52] constantine dot exelsior at gmail dot com

Yes, this problem happens on php 5.5.11 too ( this time tested: cli, apache module ).

The PHP installation has been done after removing the old version. Yes i am sure that i used the
correct dll inside of the correct directory: php5apache2_4.dll for apache 2.4.7

phpinfo() heading block shows php 5.5.8
PHP_VERSION shows php 5.5.8 on fastcgi and apache2handler
PHP_VERSION shows php 5.5.11 on CLI
Apache Signature shows: Apache/2.4.7 (Win64) OpenSSL/1.0.1e PHP/5.5.11

http://thor.tr0y.de/php-version-bug.png

------------------------------------------------------------------------
[2014-03-27 12:57:44] ab@php.net

I see 5.5.9 with both apache and cli. Sure it was the right dll? Thanks.

------------------------------------------------------------------------
[2014-02-26 22:43:14] constantine dot exelsior at gmail dot com

Description:
------------
The Constant PHP_VERSION and the apache2handler-SAPI-Version of phpinf() shows 5.5.8 as the current
version number instead of 5.5.9.

The Apache Signature shows the correct version.

Used System: Windows 8.1
Used Server: Apache 2.4.7 x64
Used as ( on server software ): Bundled Apache 2.4 Module
Used Package: x64 VC11 thread-safe from windows.php.net/download

Test script:
---------------
<?= PHP_VERSION ?>

Expected result:
----------------
PHP 5.5.9

Actual result:
--------------
PHP 5.5.8


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=66785&edit=1


Thread (7 messages)

« previous php.bugs (#185559) next »