php.net |  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
Votes:9
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:
MUST BE VALID
Solve the problem:
9 + 42 = ?
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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] derick@php.net
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.

Derick
 [2010-12-17 14:10 UTC] jani@php.net
-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] jani@php.net
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] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-22 23:39 UTC] kalle@php.net
Like cmb@ mentioned in bug #73921, this would require an RFC with nowdays politics, thrus I'm suspending this
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 03:01:29 2024 UTC