Re: Enable "disable_functions" globally and disable for a domain
| From: | Stan Vassilev | FM | Date: | Wed, 26 Nov 2008 12:31:20 +0000 |
| Subject: | Re: Enable "disable_functions" globally and disable for a domain | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-283819@lists.php.net to get a copy of this message | ||
Hi,
Blacklists are by definition insecure, so I'd advise you to have two setups, one locked down (whitelist effectively) with only the needed extensions and features, and the other one more relaxed.
Regards,
Stan Vassilev
Hi, Can I enable "disable_functions" globally and disable for individual domains? According to PHP documentation [1] it can be only set via php.ini.. For shared hosting scenarios, it will be great this feature.. disable insecure functions globally, and enable for certain domains, any workaround to make this? Thanks! [1] http://es.php.net/features.safe-mode -- Santi Saez http://woop.es -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php