#31867 [Fbk->NoF]: PHP does not read my php.ini which is in "Configuration File (php.ini) Path"

From: Date: Sun, 20 Mar 2005 17:08:53 +0000
Subject: #31867 [Fbk->NoF]: PHP does not read my php.ini which is in "Configuration File (php.ini) Path"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-75595@lists.php.net to get a copy of this message
ID: 31867 Updated by: sniper@php.net Reported By: php at pwhite dot mailhaven dot com -Status: Feedback +Status: No Feedback Bug Type: PHP options/info functions Operating System: Linux 2.6 PHP Version: 5.0.3 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2005-02-28 20:47:22] 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-09 01:37:36] php at pwhite dot mailhaven dot com Yes, the user "nobody" has read access to the file. I verified it by doing su nobody (after changing its shell to bash) and by viewing the file. ------------------------------------------------------------------------ [2005-02-08 22:20:11] tony2001@php.net Please check if your Apache's user (I bet it's "nobody") has all necessary privileges to read the ini file. ------------------------------------------------------------------------ [2005-02-08 22:13:23] php at pwhite dot mailhaven dot com Update: even with --with-config-file-path=/home/pwhite/my_php5/lib, my file is still ignored. ------------------------------------------------------------------------ [2005-02-07 07:12:32] php at pwhite dot mailhaven dot com Yes, I saw that option, but wouldn't you consider it a bug when phpinfo() displays a directory as THE "configuration file path", and yet when there's a valid configuration file in that directory, it does not read it? If it only looks in /usr/local/lib for php.ini, why list /home/pwhite/php5/lib as the config file path? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/31867 -- Edit this bug report at http://bugs.php.net/?id=31867&edit=1

« previous php.bugs (#75595) next »