|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #13833 Allow tightening disable_functions (like open_basedir)
Submitted: 2001-10-25 22:21 UTC Modified: 2017-10-22 23:39 UTC
Avg. Score:3.9 ± 1.3
Reproduced:6 of 7 (85.7%)
Same Version:2 (33.3%)
Same OS:2 (33.3%)
From: joseph dot blythe at binarylogic dot com dot au Assigned:
Status: Suspended Package: PHP options/info functions
PHP Version: * 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:
Solve the problem:
40 - 13 = ?
Subscribe to this entry?

 [2001-10-25 22:21 UTC] joseph dot blythe at binarylogic dot com dot au
When set from inside httpd.conf I had it between a <Directory> directive inside a virtual host.

     php_admin_value disable_functions phpinfo
Doesn't actually disable the function for that host even though calling up phpinfo (which should be disabled) shows that phpinfo is disabled. Setting it in the php.ini works fine.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-25 22:23 UTC] joseph dot blythe at binarylogic dot com dot au
btw: Apache/1.3.22
 [2001-10-26 03:24 UTC]
This is not a bug, but it is supposed to work like that.
Making it a feature request, as there was some talk about this on the php developers mailinglist.

 [2010-12-17 14:10 UTC]
-Summary: disable_functions does not work when set from httpd.conf +Summary: Allow tightening disable_functions (like open_basedir) -Package: Feature/Change Request +Package: PHP options/info functions -Operating System: Linux 2.2.17-14 i386 +Operating System: * -PHP Version: 4.0.6 +PHP Version: *
 [2010-12-17 14:14 UTC]
See also bug #32805
 [2013-08-03 15:55 UTC] ben dot rubson at gmail dot com
See summary bug #65386
 [2017-10-22 23:39 UTC]
-Status: Open +Status: Suspended
 [2017-10-22 23:39 UTC]
Like cmb@ mentioned in bug #73921, this would require an RFC with nowdays politics, thrus I'm suspending this
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Sep 22 03:01:24 2023 UTC