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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: support at xpower dot net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Fri Dec 27 12:01:29 2024 UTC