disable_functions not working in httpd.conf
| From: | Joseph Blythe | Date: | Thu, 25 Oct 2001 07:47:05 +0000 |
| Subject: | disable_functions not working in httpd.conf | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-72205@lists.php.net to get a copy of this message | ||
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