Re: php_value disable_functions sintax?
| From: | Rodolfo Gonzalez | Date: | Mon, 25 Nov 2002 20:41:36 +0000 |
| Subject: | Re: php_value disable_functions sintax? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125996@lists.php.net to get a copy of this message | ||
On Mon, 25 Nov 2002, Rasmus Lerdorf wrote:
> You can't disable functions in your httpd.conf. That particular directive
> is probably the only one that is server-wide and can only be set in your
> php.ini file. The reason is that it is too expensive to disable and
> re-enabled functions on a per-request basis which is what we would need to
> do if we allowed you to set it per-dir or per-vhost.
Hmm, that's a pitty, now I have two choices: disable user access and
modification of files on the server or modify the sources commenting out
the functions I want to disable (because having 3 Apache and PHP instances
is not well worth for just 2 poll scripts in two virtual hosts).
I guess I'll disable access to users.
Thanks anyway.