Bug #61229 [Com]: Apache environment variable reports wrong version of PHP
| From: | pjj at pjj dot pl | Date: | Fri, 02 Mar 2012 15:37:41 +0000 |
| Subject: | Bug #61229 [Com]: Apache environment variable reports wrong version of PHP | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-168033@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61229&edit=1
ID: 61229
Comment by: pjj at pjj dot pl
Reported by: uniflare at gmail dot com
Summary: Apache environment variable reports wrong version of
PHP
Status: Open
Type: Bug
Package: Apache2 related
Operating System: Windows7 Ultimate x86
PHP Version: 5.4.0
Block user comment: N
Private report: N
New Comment:
This is *not* a PHP bug; dll in question was compiled when 5.4.0 wasn't ready yet. Today newer
version has been released at Apache Lounge; download it and replace the older one -- it will display
the correct PHP version.
Previous Comments:
------------------------------------------------------------------------
[2012-03-01 22:53:47] uniflare at gmail dot com
Description:
------------
Stack:
Apache 2.4.1 VC9
5.4.0 RC8 VC9 (SAPI)
php5apache2_4.dll from apache lounge.
From "phpinfo();" :
Header: PHP Version 5.4.0RC8
Section: "Apache Environment"
SERVER_SOFTWARE Apache/2.4.1 (Win32) PHP/5.4.0RC7
Test script:
---------------
<?php
phpinfo();
?>
Expected result:
----------------
Apache given correct software string to apply to it's environment variable
"SERVER_SOFTWARE"
Actual result:
--------------
Apache given out-dated software string to it's environment variable "SERVER_SOFTWARE"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61229&edit=1