#30390 [Com]: PHP 5.0.2 reports as Version 5.0.0 using phpinfo & phpversion
| From: | lbmeister at sbcglobal dot net | Date: | Tue, 12 Oct 2004 05:59:43 +0000 |
| Subject: | #30390 [Com]: PHP 5.0.2 reports as Version 5.0.0 using phpinfo & phpversion | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-67446@lists.php.net to get a copy of this message | ||
ID: 30390
Comment by: lbmeister at sbcglobal dot net
Reported By: pnllan at swbell dot net
Status: Open
Bug Type: PHP options/info functions
Operating System: WinXP
PHP Version: 5.0.2
New Comment:
I get the exact same thing, and it's keeping me from using a couple of
applications that check for PHP version 5.0.2 +. Oh, well maybe this
will be straightened out in 5.0.3 or 5.0.4.
Previous Comments:
------------------------------------------------------------------------
[2004-10-11 08:28:18] pnllan at swbell dot net
Description:
------------
PHPINFO reports version "5.0.0" in the table header using the standard
PHPINFO function. However, scrolling down the page, it displays
"Apache/2.0.51 (Win32) PHP/5.0.2" under the APACHE2HANDLER section.
PHPVERSION displays "5.0.0"
Reproduce code:
---------------
<?php
echo 'Current PHP version: ' . phpversion();
phpinfo();
?>
Expected result:
----------------
Current PHP version: 5.0.2 ...
followed by correct PHPINFO information:
HTML output:
<body> ...
<a href="http://www.php.net/"><img
border="0"
src="/phpinfo.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42" alt="PHP
Logo" /></a><h1 class="p">PHP Version 5.0.2</h1>
Actual result:
--------------
PHP Version 5.0.0 (WRONG VERSION NUBMER)...
followed by correct PHPINFO information:
HTML output:
<body> ...
<a href="http://www.php.net/"><img
border="0"
src="/phpinfo.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42" alt="PHP
Logo" /></a><h1 class="p">PHP Version 5.0.0</h1> .... which
displays
WRONG VERSION NUMBER (5.0.0).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30390&edit=1