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.
-Hannes
On Tue, Dec 9, 2008 at
bjori Tue Dec 9 10:20:11 2008 UTC
Added files: (Branch: PHP_5_3)
/php-src/ext/standard/tests/directory open_basedir_001.phpt
Modified files:
/php-srcNEWS
/php-src/main fopen_wrappers.c fopen_wrappers.h
Log:
MFH: -