Bug #17927: open_basedir is not working

From: Date: Sat, 22 Jun 2002 23:40:53 +0000
Subject: Bug #17927: open_basedir is not working
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11814@lists.php.net to get a copy of this message
From: matt@haught.com Operating system: FreeeBSD 4.4-RELEASE PHP version: 4.2.1 PHP Bug Type: Apache2 related Bug description: open_basedir is not working I am using the php_admin_value to set the open_basedir option within a <VirtualHost>, the option is accepted by apache-2.0.39 and is reflected by phpinfo(). I just moved my sites around and I forgot to change my open_basedir, and to my amazement i got no errors when opening any of the pages. I also have open_basedir set to /usr/local/www/data as a default in my php.ini (mostly to remind me to set it for the virtual host's dir which is not in that dir). I can change the values to anything in either the ini or through php_admin_value and no restrictions are put into place. I put this bug into apache2 releated, but I am not sure if it is reflected in others. I am using php4-200206211500 snap. As a side note, php_admin_flag engine Off, also does nothing inside a <VirtualHost> or a <Location>, I am not sure if it is related. php_value include_path /dir, DOES work properly. --Matt -- Edit bug report at http://bugs.php.net/?id=17927&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17927&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17927&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17927&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17927&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17927&r=support Expected behavior: http://bugs.php.net/fix.php?id=17927&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17927&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17927&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17927&r=globals

« previous php.bugs (#11814) next »