comparison php/.htaccess @ 2552:a3bcb8b9667d

Added .htaccess to suppress any PHP errors/warnings
author Nick <nick@dmtlab.bcu.ac.uk>
date Thu, 08 Dec 2016 13:38:39 +0000
parents
children
comparison
equal deleted inserted replaced
2550:15b42e98b06c 2552:a3bcb8b9667d
1 # supress php errors
2 php_flag display_startup_errors off
3 php_flag display_errors off
4 php_flag html_errors off
5 php_value docref_root 0
6 php_value docref_ext 0
7 # enable PHP error logging
8 php_flag log_errors on
9 php_value error_log ./error.log
10 # prevent access to PHP error log
11 <Files error.log>
12 Order allow,deny
13 Deny from all
14 Satisfy All
15 </Files>