Req #24254 [Opn->Fbk]: php_admin_value preset stuck as static value

From: Date: Mon, 26 Jul 2021 13:38:30 +0000
Subject: Req #24254 [Opn->Fbk]: php_admin_value preset stuck as static value
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235363@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=24254&edit=1 ID: 24254 Updated by: cmb@php.net Reported by: gareth at raveroom dot com Summary: php_admin_value preset stuck as static value -Status: Open +Status: Feedback Type: Feature/Change Request Package: Apache2 related Operating System: Win2kAdvSrv PHP Version: 4.3.2 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Is this still relevant to anyone? Previous Comments: ------------------------------------------------------------------------ [2003-06-19 04:24:00] gareth at raveroom dot com 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 this bug report at https://bugs.php.net/bug.php?id=24254&edit=1

« previous php.bugs (#235363) next »