From: php-bugs-2003-09 at webfreezer dot com Operating system: Linux PHP version: 4.3.3 PHP Bug Type: PHP options/info functions Bug description: PHP ignores --with-config-file-path compile option somehow?
Description: ------------ PHP was compiled with the --with-config-file-path=/etc option however phpinfo() says "Configuration file (php.ini) path: /etc/httpd/php.ini" Reproduce code: --------------- './configure' '--with-apache=../apache_1.3.28' '--with-mhash=/usr/local/lib' '--with-zlib-dir=/usr/local/lib' '--with-zip=/usr/local/lib' '--enable-memory-limit' '--enable-versioning' '--with-gd' '--enable-exif' '--with-config-file-path=/etc' '--enable-magic-quotes' '--enable-thread-safety' '--with-gettext' '--with-xml' '--with-mcrypt' '--enable-calendar' '--enable-bcmath' '--with-curl' '--with-curlwrappers' '--enable-ftp' '--enable-wddx' '--with-jpeg-dir=/usr/lib' Expected result: ---------------- "Configuration file (php.ini) path: /etc/php.ini" Actual result: -------------- "Configuration file (php.ini) path: /etc/httpd/php.ini" -- Edit bug report at http://bugs.php.net/?id=25466&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25466&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25466&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25466&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25466&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25466&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25466&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25466&r=support Expected behavior: http://bugs.php.net/fix.php?id=25466&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25466&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25466&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25466&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25466&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25466&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25466&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25466&r=gnused