note 34445 added to features.safe-mode
| From: | john at webital dot de | Date: | Sun, 27 Jul 2003 22:13:56 +0000 |
| Subject: | note 34445 added to features.safe-mode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-52808@lists.php.net to get a copy of this message | ||
php 4.3.0 open_basedir is a pain !
when its set for the following /home/www/netsh128/
and I have a file /home/www/netsh128/bits/neu/file.php which includes a file in
/home/www/netsh128/bits/file2.php
eg include '../file2.php';
I get loads of warnings a open_basedir restrictions !
If I change my include to
include '/home/www/netsh128/bits/file2.php';
then no problems - this took a lot searching to find out !!!
It is not well documented !
Hope it helps someone !
----
Manual Page -- http://www.php.net/manual/en/features.safe-mode.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34445
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34445&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34445&report=yes