From: hervec at gmail dot com Operating system: Linux PHP version: 5.2.10 PHP Bug Type: Safe Mode/open_basedir Bug description: Mass Virtual Hosting Enhancements ?
Description: ------------ I want to be able to set open_basedir value with apache environmental variable. This can permit to do dynamic restriction, like restrict acces to the DOCUMENT_ROOT value There was plenty of patches before, who never come to vanilla... Reproduce code: --------------- php_admin_value open_basedir "$DOCUMENT_ROOT" or if you prefer php_admin_value open_basedir "$SERVER['DOCUMENT_ROOT']" Expected result: ---------------- restrict access to file in DocumentRoot Actual result: -------------- not working -- Edit bug report at http://bugs.php.net/?id=49375&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49375&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49375&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49375&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49375&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49375&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49375&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49375&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49375&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49375&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49375&r=support Expected behavior: http://bugs.php.net/fix.php?id=49375&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49375&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49375&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49375&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49375&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49375&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49375&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49375&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49375&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49375&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49375&r=mysqlcfg
