#38343 [Opn->Bgs]: PHP 5.1.4 doesnt load custom php.ini files from user's homedir
| From: | tony2001@php.net | Date: | Tue, 08 Aug 2006 14:05:49 +0000 |
| Subject: | #38343 [Opn->Bgs]: PHP 5.1.4 doesnt load custom php.ini files from user's homedir | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-100526@lists.php.net to get a copy of this message | ||
ID: 38343
Updated by: tony2001@php.net
Reported By: dreamwiz at webmaailma dot com
-Status: Open
+Status: Bogus
Bug Type: Apache related
Operating System: RHE 4
PHP Version: 5.1.4
New Comment:
Expected behaviour:
http://php.net/manual/en/configuration.php#configuration.file
Previous Comments:
------------------------------------------------------------------------
[2006-08-08 13:35:28] dreamwiz at webmaailma dot com
Server API is CGI. I actually tried the latest 5.2 few days ago but it
didnt have the fix. Anyway I will try the snapshot again tonight and
I'll let you know the results. Thank you for looking into this :)
------------------------------------------------------------------------
[2006-08-08 12:02:13] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
What is the Server API used?
------------------------------------------------------------------------
[2006-08-05 12:37:32] dreamwiz at webmaailma dot com
Forgot to mention version of Apache, it's 1.3.37
------------------------------------------------------------------------
[2006-08-05 12:15:14] dreamwiz at webmaailma dot com
Description:
------------
After upgrading from PHP 5.0.4 to 5.1.4, custom php.ini's are not being
loaded from user's homedirs/public_html anymore (using PHP Su Exec).
Looking around in different forums everyone seems to have this issue no
matter what configuration you have, as long as it's PHP 5.1.x.
Expected result:
----------------
To load php.ini under user homedir. For example clip from phpinfo();
Before adding php.ini should be:
Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini
After adding custom php.ini under public_html:
/home/user/public_html/php.ini
Actual result:
--------------
Before / After is always:
Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini
Custom php.ini is not loaded.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38343&edit=1