php.net |  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
Votes:7
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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
40 - 10 = ?
Subscribe to this entry?

 
 [2011-03-13 05:33 UTC] naox at o2 dot pl
Description:
------------
http://php.net/manual/en/ini.core.php

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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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-2019 The PHP Group
All rights reserved.
Last updated: Mon Dec 16 00:01:26 2019 UTC