Re: php_value disable_functions sintax?
| From: | Rasmus Lerdorf | Date: | Mon, 25 Nov 2002 20:35:41 +0000 |
| Subject: | Re: php_value disable_functions sintax? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125992@lists.php.net to get a copy of this message | ||
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.
-Rasmus
On Mon, 25 Nov 2002, Rodolfo Gonzalez wrote:
> Hi,
>
> I'm trying to use disable_functions inside an Apache's VirtualHost, like
> this:
>
> php_value disable_functions basename,chgrp,chmod,phpinfo
>
> I tried both with and without " but the functions are not disabled. I'm
> using php_flag safe_mode on in the same virtual host. Any help on what I'm
> doing wrongly is appreciated.
>
>
> Thanks.
> Rodolfo.
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>