|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #54239 disable_functions tightening like open_basedir
Submitted: 2011-03-13 05:33 UTC Modified: 2011-04-26 00:30 UTC
Avg. Score:4.3 ± 0.9
Reproduced:6 of 6 (100.0%)
Same Version:3 (50.0%)
Same OS:3 (50.0%)
From: naox at o2 dot pl Assigned:
Status: Open Package: PHP options/info functions
PHP Version: 5.3.6 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: naox at o2 dot pl
New email:
PHP Version: OS:


 [2011-03-13 05:33 UTC] naox at o2 dot pl

disable_functions is php.ini only

open_basedir is PHP_INI_ALL - because next change can only append to open_basedir 
path, never take something back. Disable_functions should work the same way! It 
should be PHP_INI_ALL and allowing adding functions, but never taking those back. 
This allong open_basedir and prepend could make handy to make privledge separation 
for multiple sites but wihtout multiple php.ini


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-04-26 00:30 UTC] naox at o2 dot pl
-Summary: disable_functions > PHP_INI_ALL +Summary: disable_functions tightening like open_basedir -Package: Safe Mode/open_basedir +Package: PHP options/info functions -PHP Version: 5.3.5 +PHP Version: 5.3.6
 [2011-04-26 00:30 UTC] naox at o2 dot pl
allow disable_functions tightening like open_basedir :(
 [2011-04-26 05:38 UTC] fg345twrg at gmail dot com
Making disable_functions INI_ALL and allowing it to set only if previously empty 
would be good start. Tightening would be perfect.
 [2013-08-03 15:55 UTC] ben dot rubson at gmail dot com
See summary bug #65386
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Oct 22 06:01:24 2020 UTC