From:             pk at nodex dot ru
Operating system: Solaris 9
PHP version:      4.3.5RC3
PHP Bug Type:     Apache related
Bug description:  incorrect appying open_basedir

Description:
------------
I have apache 1.3.27 with php 4.3.5RC3.



Trouble with incorrect applying of open_basedir on one apache child and
some virtual hosts.



>[15-Mar-2004 15:09:20] PHP Warning:  main(): open_basedir restriction in
effect. File(/usr/hosting/autod/html/price/includes/db_part/main.php) is
not within the allowed path(s): (/usr/hosting/true) 

in /usr/hosting/autod/html/price/db_part.php on line 67

[15-Mar-2004 15:10:59] PHP Warning:  Unknown(): open_basedir restriction
in effect. File(/usr/hosting/autod/html/apedia/law/2-4.php) is

 not within the allowed path(s): (/usr/hosting/johnpp) in Unknown on line
0

[15-Mar-2004 15:10:59] PHP Warning: 
Unknown(/usr/hosting/autod/html/apedia/law/2-4.php): failed to open
stream: Not owner in Unknown on line 0



[15-Mar-2004 15:10:59] PHP Warning:  (null)(): Failed opening
'/usr/hosting/autod/html/apedia/law/2-4.php' for inclusion
(include_path='/usr/hosting/nedug_unix/apteka/lib/php-lib:/usr/hosting/nedug_unix/apteka/include')
in Unknown on line 0



That vhost have open_basedir - /usr/hosting/autod

And i have other vhosts with open_basedirs - /usr/hosting/%username%

I think open_basedir is inheriting after previons request to another
vhost.



PHP 4.2.3 not have that bug.

I tryed to use all versions 4.3.0 - 4.3.5RC3, all of this versions have
that bug




-- 
Edit bug report at http://bugs.php.net/?id=27603&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27603&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27603&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27603&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27603&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27603&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27603&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27603&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27603&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27603&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27603&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27603&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27603&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27603&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27603&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27603&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27603&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27603&r=float

Reply via email to