Bug #3370: open_basedir does not work as expected
| From: | guenther dot mair at web dot by dot com | Date: | Tue, 01 Feb 2000 11:23:14 +0000 |
| Subject: | Bug #3370: open_basedir does not work as expected | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15104@lists.php.net to get a copy of this message | ||
From: guenther.mair@web.by.com
Operating system: Freebsd 3.0
PHP version: 3.0.12
PHP Bug Type: Other
Bug description: open_basedir does not work as expected
first of all you may not use a simple ".." to indicate the parent directory. then, when
using something like [open_basedir = .:../x:../y] it will work, but not only for "../x"
and "../y" but also for "../z" if you try to give more than 4 parameters (this
all running on freebsd 3.0) all your php3.ini settings will be droped and the default settings used.
my php3.ini file:
---------------------------------------------------------------------
safe_mode = On
safe_mode_exec_dir = /nonexistent
open_basedir = .:../admin:../php:../php3
upload_tmp_dir = ../tmp
;error_log = syslog
;short_open_tag = on
---------------------------------------------------------------------
i saw configuration settings also being reset when short_open_tag was set to on.