From: lehmann at cnm dot de Operating system: Linux 2.6.9-34.ELsmp PHP version: 5.1.6 PHP Bug Type: *Configuration Issues Bug description: local php.ini not recognized
Description: ------------ We use PHP as command line version. Usually first the global php.ini (in PREFIX/lib/php) is parsed and evaluated, then PHP looks for a local php.ini in the directory of the php-file that will be executed to look for options that may override the global options. This can be used e.g. to enable register_globals for a certain user. In php-5.1.6 the local php.ini isn't recognized or at least the options in there aren't evaluated. This worked fine even in the command line versions of older php releases (php4 or php 5.0.x). -- Edit bug report at http://bugs.php.net/?id=38714&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38714&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38714&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38714&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38714&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38714&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38714&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38714&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38714&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38714&r=support Expected behavior: http://bugs.php.net/fix.php?id=38714&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38714&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38714&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38714&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38714&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38714&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38714&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38714&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38714&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38714&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38714&r=mysqlcfg