php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61229 Apache environment variable reports wrong version of PHP
Submitted: 2012-03-01 22:53 UTC Modified: 2012-03-02 15:50 UTC
From: uniflare at gmail dot com Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 5.4.0 OS: Windows7 Ultimate x86
Private report: No CVE-ID: None
 [2012-03-01 22:53 UTC] 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"

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-02 15:37 UTC] pjj at pjj dot pl
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.
 [2012-03-02 15:50 UTC] aharvey@php.net
-Status: Open +Status: Not a bug
 [2012-03-02 15:50 UTC] aharvey@php.net
Thanks for clarifying that.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 19:01:33 2024 UTC