#41463 [NEW]: PHP.ini file displayed in phpinfo();
From: clegier at legier dot net
Operating system: Windows XP
PHP version: 5.2.2
PHP Bug Type: PHP options/info functions
Bug description: PHP.ini file displayed in phpinfo();
Description:
------------
The php.ini file is shown in it's entirety after configuration setting
mistype.
Reproduce code:
---------------
In the php.ini set:
doc_root = C:\APACHE\htdocs"
No leading quote, only trailing.
Expected result:
----------------
After saving the php.ini and loading up httpd, look in the phpinfo();
after doc_root. The entire rest of the php.ini is displayed.
This also works for: extension_dir = C:\APACHE\PHP\ext"
--
Edit bug report at http://bugs.php.net/?id=41463&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41463&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41463&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41463&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=41463&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=41463&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=41463&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=41463&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=41463&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=41463&r=support
Expected behavior: http://bugs.php.net/fix.php?id=41463&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=41463&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=41463&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=41463&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41463&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=41463&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=41463&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=41463&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=41463&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=41463&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=41463&r=mysqlcfg
Thread (2 messages)
- clegier at legier dot net