php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #30986 Advanced config for disable_functions
Submitted: 2004-12-05 15:52 UTC Modified: 2004-12-05 16:44 UTC
From: support at xpower dot net Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: 4.3.9 OS: Any
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-12-05 15:52 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-05 16:44 UTC] derick@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 18:01:32 2024 UTC