Bug #61229 [NEW]: Apache environment variable reports wrong version of PHP

From: Date: Thu, 01 Mar 2012 22:53:47 +0000
Subject: Bug #61229 [NEW]: Apache environment variable reports wrong version of PHP
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-167985@lists.php.net to get a copy of this message
From:             
Operating system: Windows7 Ultimate x86
PHP version:      5.4.0
Package:          Apache2 related
Bug Type:         Bug
Bug description:Apache environment variable reports wrong version of PHP

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 bug report at https://bugs.php.net/bug.php?id=61229&edit=1
-- 
Try a snapshot (PHP 5.4):            https://bugs.php.net/fix.php?id=61229&r=trysnapshot54
Try a snapshot (PHP 5.3):            https://bugs.php.net/fix.php?id=61229&r=trysnapshot53
Try a snapshot (trunk):              https://bugs.php.net/fix.php?id=61229&r=trysnapshottrunk
Fixed in SVN:                        https://bugs.php.net/fix.php?id=61229&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61229&r=needdocs
Fixed in release:                    https://bugs.php.net/fix.php?id=61229&r=alreadyfixed
Need backtrace:                      https://bugs.php.net/fix.php?id=61229&r=needtrace
Need Reproduce Script:               https://bugs.php.net/fix.php?id=61229&r=needscript
Try newer version:                   https://bugs.php.net/fix.php?id=61229&r=oldversion
Not developer issue:                 https://bugs.php.net/fix.php?id=61229&r=support
Expected behavior:                   https://bugs.php.net/fix.php?id=61229&r=notwrong
Not enough info:                     https://bugs.php.net/fix.php?id=61229&r=notenoughinfo
Submitted twice:                     https://bugs.php.net/fix.php?id=61229&r=submittedtwice
register_globals:                    https://bugs.php.net/fix.php?id=61229&r=globals
PHP 4 support discontinued:          https://bugs.php.net/fix.php?id=61229&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=61229&r=dst
IIS Stability:                       https://bugs.php.net/fix.php?id=61229&r=isapi
Install GNU Sed:                     https://bugs.php.net/fix.php?id=61229&r=gnused
Floating point limitations:          https://bugs.php.net/fix.php?id=61229&r=float
No Zend Extensions:                  https://bugs.php.net/fix.php?id=61229&r=nozend
MySQL Configuration Error:           https://bugs.php.net/fix.php?id=61229&r=mysqlcfg



Thread (3 messages)

« previous php.bugs (#167985) next »