note 32288 added to features.safe-mode
| From: | erweb at erweb dot it | Date: | Thu, 22 May 2003 15:59:57 +0000 |
| Subject: | note 32288 added to features.safe-mode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-48831@lists.php.net to get a copy of this message | ||
I am trying to enable safe mode on a machine running
PHP 4.0.6
Doing
safe_mode = On
safe_mode_include_dir = /path/to/dir/
auto_prepend_file = /path/to/dir/foo.php
the safe mode is turned on but the include dir
is not taken in consideration and all my PHP
pages give me an error (Safe mode restriction activated: failed to include /path/to/dir/foo.php)
foo.php is owned by root and the pages are owned by any other user...
does anybody know what happens?
Regards
Simone
----
Manual Page -- http://www.php.net/manual/en/features.safe-mode.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32288
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32288&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32288&report=yes