#32388 [Opn->Bgs]: specifing open_basedir or doc_root enables safe_mode even safe_mode is disabled
| From: | tony2001@php.net | Date: | Mon, 21 Mar 2005 05:57:25 +0000 |
| Subject: | #32388 [Opn->Bgs]: specifing open_basedir or doc_root enables safe_mode even safe_mode is disabled | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-75637@lists.php.net to get a copy of this message | ||
ID: 32388
Updated by: tony2001@php.net
Reported By: carlos-spam at wfmh dot org dot pl
-Status: Open
+Status: Bogus
Bug Type: Apache related
Operating System: Debian
PHP Version: 4.3.10
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Previous Comments:
------------------------------------------------------------------------
[2005-03-21 02:18:57] carlos-spam at wfmh dot org dot pl
Description:
------------
Use of open_basedir or doc_root in vhost (apache 1) as shown below:
php_admin_value open_basedir /
php_admin_value doc_root /
php_admin_flag safe_mode off
enables safe_mode, even safe_mode is set to off, whcih spits out:
Warning: main(): open_basedir restriction in effect.
File(.//prepend.php) is not within the allowed path(s): (/) in
<my-path> on line 18
Warning: main(prepend.php): failed to open stream: Operation not
permitted in <my-path> on line 18
The above used to work with 4.3.4 but stopped after upgrade t 4.3.10-9
(debian package)
Actual result:
--------------
open_basedir, doc_root shall have no effect unless safe_mode is enabled
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32388&edit=1