From: gareth at raveroom dot com Operating system: Win2kAdvSrv PHP version: 4.3.2 PHP Bug Type: Dynamic loading Bug description: php_admin_value preset stuck as static value
Description: ------------ As many big web-hosting companies do, I have my Apache httpd.conf file setup as a dynamic virtual host, rather than individual <VirtualHost> entries in the file. Which in turn causes me a problem when I try to enable safe mode and set the include/base_opendir settings. The reason this is a problem is that as far as I can tell, there is no coding ability for the php_admin_value/php_value directives within the .conf/.htaccess files. I am hoping there is something I don't know about this issue, or hopefully a PHP project person considers this feature worth putting into the next PHP upgrade. Reproduce code: --------------- example of how code could look if having mod_rewrite style variables available. calling http://www.domain.com php_admin_value open_basedir ${DocumentRoot} result setting open_basedir = /www/d/domain.com or with Apache 2.0's mod_vhost_alias style coding calling http://domain.com php_admin_value open_basedir /www/%1.1/%1+/ result setting open_basedir = /www/d/domain.com -- Edit bug report at http://bugs.php.net/?id=24254&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24254&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24254&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24254&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24254&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24254&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24254&r=support Expected behavior: http://bugs.php.net/fix.php?id=24254&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24254&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24254&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24254&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24254&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24254&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24254&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24254&r=gnused
