#19368 [Opn->Bgs]: don't work disable_functions: phpinfo in httpd.conf
| From: | derick@php.net | Date: | Thu, 12 Sep 2002 07:18:00 +0000 |
| Subject: | #19368 [Opn->Bgs]: don't work disable_functions: phpinfo in httpd.conf | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19207@lists.php.net to get a copy of this message | ||
ID: 19368
Updated by: derick@php.net
Reported By: thor@compnet.ru
-Status: Open
+Status: Bogus
Bug Type: *Web Server problem
Operating System: FreeBSD 4.1.1-RELEASE
PHP Version: 4.2.3
New Comment:
You can't set those from VHost configurations, only from the main
httpd.conf or php.ini files.
See: http://www.php.net/manual/sv/print/function.ini-set.php#AEN68028
It says: disable_functions PHP_INI_SYSTEM, which means that it's only
settable from "system" files (ie. php.ini or the main httpd.conf). If
it would have included "PER_DIR" then it would have been settable per
VHost and from a .htaccess file.
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-09-12 02:13:33] thor@compnet.ru
php.ini:
disable_functions =
exec,passthru,proc_close,proc_open,shell_exec,system
httpd.conf (<VirtualHost>):
php_admin_value disable_functions
phpinfo,exec,passthru,proc_close,proc_open,shell_exec,system
And in this virtual host phpinfo - works.
I don't know, may be it is not bug, but feature.
Help me please.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19368&edit=1