Re: cvs: php-src(PHP_5_3) / NEWS /ext/standard/tests/directory open_basedir_001.phpt /main fopen_wrappers.c fopen_wrappers.h
| From: | Hannes Magnusson | Date: | Tue, 09 Dec 2008 12:23:41 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_3) / NEWS /ext/standard/tests/directory open_basedir_001.phpt /main fopen_wrappers.c fopen_wrappers.h | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969379799@lists.php.net to get a copy of this message | ||
On Tue, Dec 9, 2008 at 12:10, Hannes Magnusson <bjori@php.net> wrote:
> Fail.
>
> open_basedir can as of 5.3.0 be set at run time to tighten the path.
> I.e. if open_basedir=/usr/local in php.ini you can
> ini_set("open_basedir", "/usr/local/bin") at runtime.
> trying to remove stuff from open_basedir (i.e. ini_set("open_basedir",
> "/usr");) fails.
Documented.
However, it feels very very very wrong that open_basedir is documented
with safe_mode.
Especially since there is a big fat note on
http://docs.php.net/manual/en/features.safe-mode.php
that safe_mode
has been removed.. suggesting open_basedir has been too.
-Hannes