#46894 [NEW]: Syntax errors in php.ini go unnoticed
| From: | ilatypov at infradead dot org | Date: | Thu, 18 Dec 2008 02:54:25 +0000 |
| Subject: | #46894 [NEW]: Syntax errors in php.ini go unnoticed | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-132110@lists.php.net to get a copy of this message | ||
From: ilatypov at infradead dot org
Operating system: Windows XP Pro
PHP version: 6CVS-2008-12-18 (snap)
PHP Bug Type: Feature/Change Request
Bug description: Syntax errors in php.ini go unnoticed
Description:
------------
I accidentally commented out a line in php.ini with a hash mark instead of
a semi-colon. It appears that the php.ini parser does not raise an
all-important alarm on this kind of error.
I spent hours trying to understand why my changes to php.ini were not
reflected in ini_get_all().
It would be nice if the php.ini parser threw a message about syntax errors
to stderr. Pretty please!
--
Edit bug report at http://bugs.php.net/?id=46894&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46894&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46894&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46894&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46894&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46894&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=46894&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46894&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46894&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46894&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46894&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46894&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=46894&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=46894&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46894&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46894&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46894&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46894&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46894&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46894&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46894&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46894&r=mysqlcfg