note 34445 rejected from features.safe-mode by didou
| From: | didou@php.net | Date: | Sun, 27 Jul 2003 22:22:20 +0000 |
| Subject: | note 34445 rejected from features.safe-mode by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-52809@lists.php.net to get a copy of this message | ||
Note Submitter: john@webital.de
----
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 !