From:             pnllan at swbell dot net
Operating system: WinXP
PHP version:      5.0.2
PHP Bug Type:     PHP options/info functions
Bug description:  PHP 5.0.2 reports as Version 5.0.0 using phpinfo & phpversion

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 bug report at http://bugs.php.net/?id=30390&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30390&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30390&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30390&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30390&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30390&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30390&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30390&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30390&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30390&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30390&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=30390&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=30390&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30390&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30390&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30390&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30390&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30390&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30390&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30390&r=mysqlcfg

Reply via email to