#42104 [NEW]: Configuration file path not respected
| From: | kit at reapermini dot com | Date: | Wed, 25 Jul 2007 16:08:16 +0000 |
| Subject: | #42104 [NEW]: Configuration file path not respected | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-115438@lists.php.net to get a copy of this message | ||
From: kit at reapermini dot com
Operating system: OS X Server 10.3
PHP version: 5.2.3
PHP Bug Type: *Configuration Issues
Bug description: Configuration file path not respected
Description:
------------
Configuring with and without --with-config-file-path, the resulting
library doesn't see a php.ini file in the path expected by phpinfo().
Compiled from 5.2.3 release branch.
Reproduce code:
---------------
./configure --prefix=/usr/local/php5 --with-apxs=/usr/sbin/apxs
--with-iconv=/usr --with-openssl=/usr --with-zlib=/usr
--with-mysql=/usr/local/mysql --enable-cgi --with-curl=/usr/local/php
--with-mcal=/usr/local/php --with-mcrypt=/usr/local
--with-mhash=/usr/local/php --with-pdflib=/usr/local/php
--with-expat-dir=/usr/local/php --with-gettext=/usr/local/php
--with-dom=/usr/local/php --with-dom-xslt=/usr/local/php
--with-dom-exslt=/usr/local/php --with-xslt-sablot=/usr/local/php
--with-mime-magic=/usr/local/php/etc/magic.mime --with-mssql=/usr/local/php
--enable-xslt --with-ldap --with-xml --with-xmlrpc --with-iodbc=/usr
--enable-sockets --enable-trans-sid --enable-exif --enable-wddx
--enable-ftp --enable-mbstring --with-gd --with-jpeg-dir=/usr/local
--with-png-dir=/usr/local --with-freetype-dir=/usr --with-t1lib=/usr/local
--with-tiff-dir=/usr/local/php
This config arg resulted in a good binary that runs, but won't see the
php.ini for anything.
Actual result:
--------------
From the phpinfo output:
Configuration File (php.ini) Path /usr/local/php5/lib
Loaded Configuration File (none)
The php.ini file is located at /usr/local/php5/lib/php.ini, has global
read permissions, but is not found by the module.
--
Edit bug report at http://bugs.php.net/?id=42104&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42104&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42104&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42104&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42104&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=42104&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42104&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42104&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42104&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42104&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42104&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=42104&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=42104&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42104&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42104&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42104&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42104&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42104&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42104&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42104&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42104&r=mysqlcfg