Mombu the Php Forum sponsored links

Go Back   Mombu the Php Forum > Php > #38343 : PHP 5.1.4 doesnt load custom php.ini files from user's homedir
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 25th August 04:00
php-bugs@lists.php.net (dreamwiz at webmaailma dot
External User
 
Posts: 1
Default #38343 : PHP 5.1.4 doesnt load custom php.ini files from user's homedir



ID: 38343
User updated by: dreamwiz at webmaailma dot com
Reported By: dreamwiz at webmaailma dot com
Status: Bogus
Bug Type: Apache related
Operating System: RHE 4
PHP Version: 5.1.4
New Comment:

Obviously moving status to bogus means that it's not meant to be
supported :/ But why remove this feature? It's very popular (have
_many_ users who use it). It's supported in 5.0.5 still.


Previous Comments:
------------------------------------------------------------------------

[2006-08-08 14:05:47] tony2001@php.net

Expected behaviour:
http://php.net/manual/en/configuration.php#configuration.file

------------------------------------------------------------------------

[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
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666