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 [EMAIL PROTECTED]
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 [EMAIL PROTECTED]
</Directory>
</VirtualHost>
What am I doing wrong, any suggestions welcome on the above conf too :)
Thanks in advance,
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]