#27321 [Bgs->Opn]: open_basedir setting leaking between vhosts

From: Date: Wed, 25 Feb 2004 13:08:59 +0000
Subject: #27321 [Bgs->Opn]: open_basedir setting leaking between vhosts
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-55529@lists.php.net to get a copy of this message
ID: 27321 User updated by: jg at execulink dot com Reported By: jg at execulink dot com -Status: Bogus +Status: Open Bug Type: Apache related Operating System: Redhat Linux 7.3 -PHP Version: 4CVS-2004-2-19 +PHP Version: 4.3.5RC3 New Comment: Actually this is not a configuration problem, since the open_basedir it's complaining about is NOT the one I have configured for that vhost. Previous Comments: ------------------------------------------------------------------------ [2004-02-24 17:12:12] sniper@php.net This is some configuration failure on user's side: File(/usr/ppp/p/pookie/public_html/index.php) is not within the allowed path(s): (/usr/ppp/p/pdipietro) in Unknown on line 0 (this is perfectly valid and expected error when you try to access file outside the open_basedir..) ------------------------------------------------------------------------ [2004-02-20 08:06:22] jg at execulink dot com I'm using Apache/1.3.27 (Unix) (Red-Hat/Linux) I've already tried running this snapshot: php4-STABLE-200402191630 with no luck. ------------------------------------------------------------------------ [2004-02-19 13:57:04] jg at execulink dot com Description: ------------ INI Settings, specificially open_basedir seems to be leaking between apache virtualhost settings. Bug seems to be very similar to #25753, but was not resolved for me in 4.3.5RC3. e.g., One user - pookie's php fails with the following error: (pdipietro is another user on the system, in another virtualhost). I would really appreciate either a workaround, patch, or fix! phpinfo(); PHP Version 4.3.5RC3 Warning: Unknown(): open_basedir restriction in effect. File(/usr/ppp/p/pookie/public_html/index.php) is not within the allowed path(s): (/usr/ppp/p/pdipietro) in Unknown on line 0 Warning: Unknown(/usr/ppp/p/pookie/public_html/index.php): failed to open stream: Operation not permitted in Unknown on line 0 Warning: (null)(): Failed opening '/usr/ppp/p/pookie/public_html/index.php' for inclusion (include_path='.:/usr/share/pear') in Unknown on line 0 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27321&edit=1

« previous php.bugs (#55529) next »