From: edwin at cheatah dot nl Operating system: ALL PHP version: 5.2CVS-2008-07-11 (snap) PHP Bug Type: *Configuration Issues Bug description: Additional .ini filre directory should not be a constant
Description: ------------ The directory for reading additional ini files is hardcoded (declared as a constant). The base php.ini location is configurable, the additional ini file dir isn't. Compare: php_ini_opened_path PHP_CONFIG_FILE_SCAN_DIR Why they should BOTH be configurable: What if I want to have multiple HTTP services with just a single set of binaries? I may want to have serveral httpd.conf files, and have an Apache process started with different configuration files. In these files I could want to use the PHPINIDir directive. This works fine. The problem is that phpinfo() keeps whining about the "Scan this dir for additional .ini files" It's impossible to override this setting. Quite silly as we can easily have multiple php.ini files for different goals (cli, http, etc). So first of all this should be configurable (and why not in php.ini?) Systems must be able to have multiple "instances" of PHP running without actually having to compile separate binaries for different goals. Reproduce code: --------------- n/a Expected result: ---------------- n/a Actual result: -------------- n/a -- Edit bug report at http://bugs.php.net/?id=45489&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45489&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45489&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45489&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45489&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45489&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45489&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45489&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45489&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45489&r=support Expected behavior: http://bugs.php.net/fix.php?id=45489&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45489&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45489&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45489&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45489&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45489&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45489&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45489&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45489&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45489&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45489&r=mysqlcfg
