#23504 [Fbk->Opn]: Open_BASE_DIR is no longer working.

From: Date: Wed, 07 May 2003 08:52:55 +0000
Subject: #23504 [Fbk->Opn]: Open_BASE_DIR is no longer working.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39209@lists.php.net to get a copy of this message
 ID:               23504
 User updated by:  ryza at deluxnetwork dot com
 Reported By:      ryza at deluxnetwork dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         *General Issues
 Operating System: Redhat Linux 7.3
 PHP Version:      4.3.2RC2
 New Comment:

no its not a spelling error

i have this in my apache vhost
<virtualvhost foo>
php_admin_value open_basedir "/foo"
</virtualhost>


then when i access another vhost(which doesnt have open_base_dir
restrictions) i get the error,

Warning: Unknown(): open_basedir restriction in effect.
File(/foo/index.php) is not within the allowed path(s): (/foo) in
Unknown on line 0

Warning: Unknown(/foo/index.php): failed to open stream: Operation not
permitted in Unknown on line 0

Warning: (null)(): Failed opening '/foo/index.php' for inclusion
(include_path='.:/usr/local/php/lib/php') in Unknown on line 0


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

[2003-05-07 03:41:56] edink@php.net

And could it be a simple spelling error? Its open_basedir, not
open_base_dir.

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

[2003-05-06 18:27:08] sniper@php.net

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




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

[2003-05-06 02:08:34] ryza at deluxnetwork dot com

OK

i host a few thousand sites so i use Open_base_dir for security.
every version of php since 4.2.2 no longer works

Please fix Open_base_dir!

ERROR DESCRIPTION:
when one site has open_base_dir enbaled it effects sites that dont have
open_base_dir restrictions. (not all the time but it occurs).

SUMMARY:
every version of php that was released after 4.2.2 no longer works,
dont bother upgrading.

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


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



Thread (16 messages)

« previous php.bugs (#39209) next »