#32805 [NEW]: disable_functions - per domain settings
From: alon at malabi dot com
Operating system: Linux White Box Enterprise Linux
PHP version: 4.3.11
PHP Bug Type: Feature/Change Request
Bug description: disable_functions - per domain settings
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
--
Edit bug report at http://bugs.php.net/?id=32805&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32805&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32805&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32805&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32805&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32805&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32805&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32805&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32805&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32805&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32805&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32805&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32805&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32805&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32805&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32805&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32805&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32805&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32805&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32805&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32805&r=mysqlcfg
Thread (3 messages)
- alon at malabi dot com