#42104 [Opn]: Configuration file path not respected
| From: | kit at reapermini dot com | Date: | Wed, 25 Jul 2007 16:33:06 +0000 |
| Subject: | #42104 [Opn]: Configuration file path not respected | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-115440@lists.php.net to get a copy of this message | ||
ID: 42104
User updated by: kit at reapermini dot com
Reported By: kit at reapermini dot com
Status: Open
Bug Type: *Configuration Issues
Operating System: OS X Server 10.3
PHP Version: 5.2.3
New Comment:
Same config arg, compiling current cvs snap (php5.2-200707251430) fixes
issue.
Previous Comments:
------------------------------------------------------------------------
[2007-07-25 16:08:15] kit at reapermini dot com
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 this bug report at http://bugs.php.net/?id=42104&edit=1