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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: uniflare at gmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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 Dec 26 15:01:32 2024 UTC