Re: disable_functions not working in httpd.conf
| From: | Arpad Tamas | Date: | Thu, 25 Oct 2001 09:48:17 +0000 |
| Subject: | Re: disable_functions not working in httpd.conf | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72232@lists.php.net to get a copy of this message | ||
On Thursday 25 October 2001 09:47, Joseph Blythe wrote:
Hi,
bad news
disable_functions doesn't work for me either in apache's config file
I tried it with php_value, and php_admin_value, also in .htaccess
with php_value without any luck
php4.0.5, Apache/1.3.14
bye,
Arpi
> Hey All,
>
> Was just trying the following and disable_functions is not working?
> Although safe mode and open_basedir are! What is really strange
> that when phpinfo is called the disable_functions value is phpinfo,
> can't seem to disable echo either, I don't want to put these in
> php.ini as I still want to be able to have a fully fledged php
> running from the main document root.
>
> <VirtualHost *>
> ServerAdmin foo@bar.com.au
> DocumentRoot /home/test/public_html
> ServerName test.foo.bar.com.au
> ErrorLog logs/test.foo.bar.com.au-error_log
> CustomLog logs/test.foo.bar.com.au-access_log common
> <Directory /home/test/public_html>
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
> php_admin_value open_basedir /home/test/public_html
> php_admin_value user_dir /home/test/public_html
> php_admin_value disable_functions phpinfo
> php_admin_flag safe_mode On
> php_admin_value safe_mode_allowed_env_vars PHP_
> php_admin_value safe_mode_protected_env_vars LD_LIBRARY_PATH
> php_admin_value sendmail_from test@foo.bar.com.au
> </Directory>
> </VirtualHost>
>
> What am I doing wrong, any suggestions welcome on the above conf
> too :)
>
> Thanks in advance,
>
> Joseph