#22189 [Opn->Bgs]: Configuration file is not loaded, though PHP reports it is
ID: 22189
Updated by: iliaa@php.net
Reported By: krenya@inf.bme.hu
-Status: Open
+Status: Bogus
Bug Type: *Configuration Issues
Operating System: Linux 2.2 / 2.4
PHP Version: 4.3.0
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Your assumption is quite correct, this option needs to be only passed
the directory where the php.ini can be found not the path to the file
itself.
Previous Comments:
------------------------------------------------------------------------
[2003-02-12 10:57:52] krenya@inf.bme.hu
Something is probably wrong with intrepreting the following configure
option:
'--with-config-file-path=/usr/local/apache/conf/php.ini'
phpinfo() will report this:
Configuration File (php.ini):
"/usr/local/apache/conf/php.ini"
This is exactly the same as if you compile it with a saner option:
'--with-config-file-path=/usr/local/apache/conf/'
The difference between the two cases is that in the first case the
config file is not loaded by PHP. My educated guess is that it tries to
load if from: "/usr/local/apache/conf/php.ini/php.ini" so it fails and
the location is simply misreported in phpinfo().
I fisrt met this a long ago with 4.0.6 or 4.1.2 or so, but it's still
there in 4.3.0 as I just ran into this type of a problem again.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22189&edit=1
Thread (5 messages)