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

Reply via email to