#30986 [Opn->WFx]: Advanced config for disable_functions

From: Date: Sun, 05 Dec 2004 15:44:48 +0000
Subject: #30986 [Opn->WFx]: Advanced config for disable_functions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-69809@lists.php.net to get a copy of this message
ID: 30986 Updated by: derick@php.net Reported By: support at xpower dot net -Status: Open +Status: Wont fix Bug Type: Feature/Change Request Operating System: Any PHP Version: 4.3.9 New Comment: It will also be too much of a performance hit if the disabled functions change per request, as the internal function table in PHP has to be rebuild. We can not change this without affected performance quite a bit. Previous Comments: ------------------------------------------------------------------------ [2004-12-05 15:52:12] support at xpower dot net Description: ------------ I understand what disable_functions in httpd.conf is performance killer. But you can build directory related disabled functions list one time at start. Just made a advanced configuration ruleset in php.ini. Like disabled_functions['/home/web/'] = 'system,exec'; disabled_functions['/home/web/virtual1/'] = 'none'; ... and so on I hope you understand me ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30986&edit=1

« previous php.bugs (#69809) next »