Bug #62037 [Opn]: .user.ini ignores open_basedir parameter

From: Date: Tue, 15 May 2012 15:01:40 +0000
Subject: Bug #62037 [Opn]: .user.ini ignores open_basedir parameter
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-170471@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=62037&edit=1

 ID:                 62037
 User updated by:    karlis dot kisis at gmail dot com
 Reported by:        karlis dot kisis at gmail dot com
 Summary:            .user.ini ignores open_basedir parameter
 Status:             Open
 Type:               Bug
 Package:            Safe Mode/open_basedir
 Operating System:   CentOS 6.2 x86_64
 PHP Version:        5.3.13
 Block user comment: N
 Private report:     N

 New Comment:

turns out that if the master value for open_basedir is None, then .user.ini value works!

seems that .user.ini cannot override the master value from php.ini if open_basedir is defined.

still a bug in my opinion.


Previous Comments:
------------------------------------------------------------------------
[2012-05-15 14:33:52] karlis dot kisis at gmail dot com

Description:
------------
open_basedir parameter is ignored in .user.ini:
max_input_time = 333 
open_basedir = "/home"
display_errors = On
include_path = "/home"

the rest of the parameters from above work fine.

php is run as fcgi on apache 2.2.22 with mod_fcgid.c.

according to the docs, open_basedir should be configurable anywhere since version 5.3

Test script:
---------------
changed parameters are shown in phpinfo(), except open_basedir which remains unchanged.

Expected result:
----------------
open_basedir setting from .user.ini to be in effect.



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



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=62037&edit=1


Thread (5 messages)

« previous php.bugs (#170471) next »