Req #24254 [Fbk->NoF]: php_admin_value preset stuck as static value
| From: | php-bugs at lists dot php dot net | Date: | Sun, 08 Aug 2021 04:22:08 +0000 |
| Subject: | Req #24254 [Fbk->NoF]: php_admin_value preset stuck as static value | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-235662@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: php-bugs@lists.php.net
Reported by: gareth at raveroom dot com
Summary: php_admin_value preset stuck as static value
-Status: Feedback
+Status: No Feedback
Type: Feature/Change Request
Package: Apache2 related
Operating System: Win2kAdvSrv
PHP Version: 4.3.2
Assigned To: cmb
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2021-07-26 13:38:30] cmb@php.net
Is this still relevant to anyone?
------------------------------------------------------------------------
[2021-07-26 13:38:30] cmb@php.net
Is this still relevant to anyone?
------------------------------------------------------------------------
[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