#31820 [Fbk->Csd]: configuration file not read
| From: | info at netzpilot dot ch | Date: | Tue, 01 Mar 2005 16:30:57 +0000 |
| Subject: | #31820 [Fbk->Csd]: configuration file not read | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-74747@lists.php.net to get a copy of this message | ||
ID: 31820
User updated by: info at netzpilot dot ch
Reported By: info at netzpilot dot ch
-Status: Feedback
+Status: Closed
Bug Type: PHP options/info functions
Operating System: darwin
PHP Version: 5.0.3
New Comment:
I tried php5-latest.tar.gz. It works.
Previous Comments:
------------------------------------------------------------------------
[2005-02-28 20:53:01] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-02-02 19:49:17] info at netzpilot dot ch
Description:
------------
The configuration file is not read.
I compiled PHP --with-config-file-path=/etc/httpd and without it.
I have put a php.ini at /etc/httpd and /usr/local/lib and many more
places.
Always did a restart of apache.
I also gave all rights to php.ini.
Reproduce code:
---------------
echo "get_cfg_var('cfg_file_path') = " . get_cfg_var('cfg_file_path');
/* and this to check little changes in php.ini */
phpinfo();
Expected result:
----------------
the path to php.ini
Actual result:
--------------
compiled without '--with-config-file-path=/etc/httpd' my phpinfo says
Configuration File (php.ini) Path: /usr/local/lib
But changes in php.ini there have no effect.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31820&edit=1