php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #32805 disable_functions - per domain settings
Submitted: 2005-04-23 22:20 UTC Modified: 2010-12-17 14:15 UTC
Votes:7
Avg. Score:4.7 ± 0.5
Reproduced:5 of 5 (100.0%)
Same Version:2 (40.0%)
Same OS:1 (20.0%)
From: alon at malabi dot com Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 4.3.11 OS: Linux White Box Enterprise Linux
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: alon at malabi dot com
New email:
PHP Version: OS:

 

 [2005-04-23 22:20 UTC] alon at malabi dot com
Description:
------------
I read the various other suggested threads about possible running different instances of apache + php to resolve this, but,...

Well folks,. I need to have the override per domain.
I have many functions disabled for security reasons, so for all my shared hosting domains, I don't want give access to those functions.
But,. as root, I think I'm entitled for some previleges, and I don't see a reason why not allow me to override them.

If I can do override to safe_mode in the httpd.conf, why not allow me to do override to disable_functions? and be specific on which disable_function I want to re-enable.

I Don't see this coming as a multiple domains option.
Chances are that this is for one or two domains at most!
I would urge creating a phpdomainfunctionallow.ini file that will hold the list of domains that will have an override of this option.

For a single or even two or three domains, I don't think there is a need to run a full set of instances for apache and php. 


Thanks for reply,

-Alon
alon@malabi.com


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-17 14:15 UTC] jani@php.net
-Status: Open +Status: Bogus -Package: Feature/Change Request +Package: PHP options/info functions
 [2010-12-17 14:15 UTC] jani@php.net
Already reported in bug #13833 (where I left note about this one as well).
 [2011-02-27 12:21 UTC] info at riastudio dot fr
Needing the override of disable_functions per domain too. Moreover if safe_mode is 
to be removed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 22 04:01:28 2024 UTC