#20689 [Opn->]: php_admin_value disable_functions not working as it should
| From: | rasmus@php.net | Date: | Thu, 28 Nov 2002 02:22:48 +0000 |
| Subject: | #20689 [Opn->]: php_admin_value disable_functions not working as it should | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26026@lists.php.net to get a copy of this message | ||
ID: 20689
Updated by: rasmus@php.net
Reported By: webmaster@walia.com
-Status: Open
+Status: Won\'t fix
Bug Type: *Configuration Issues
Operating System: w2k and linux both
PHP Version: 4.2.3
New Comment:
For technical reasons this cannot be done. Well, it could, but the
performance penalty would be huge.
Previous Comments:
------------------------------------------------------------------------
[2002-11-27 20:09:10] webmaster@walia.com
OK, here it goes, i will come to the point.
php_admin_value disable_functions function_string does not work on a
per domain basis. i know that is what the documentation says also. but
i think it should be allowed to work on a per domain basis by allowing
it to be used in the conf file in the virtual domains.
The funny part is that even if you do put this in the virtual domain,
for example php_admin_value disable_functions phpinfo, this means that
phpinfo is not allowed to run on that domain. the phpinfo not only
runs, but it shows the local setting that phpinfo is actually disabled.
where as it is not.
if this were allowed to be in the conf files, running php would be a
lot more secure and there will be a lot less headache for the admin
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20689&edit=1