PHP directives in Apache 2

php_value include_path /usr/share/php:/usr/share/pear:.
php_admin_flag safe_mode On
php_admin_value open_basedir /usr/share/toaster
php_admin_value safe_mode_allowed_env_vars PHP_
php_admin_value safe_mode_protected_env_vars LD_LIBRARY_PATH
php_admin_value disable_functions include
php_admin_value safe_mode_exec_dir /usr/share/toaster/include

AuthType Basic
AuthName “Qmail Toaster v. 1.0 Admin”
AuthUserFile /usr/share/toaster/include/admin.htpasswd
require valid-user

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.