
Untitled
By: a guest on
Apr 30th, 2012 | syntax:
None | size: 0.47 KB | hits: 14 | expires: Never
PHP error handling with .htaccess
# supress php errors
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
php_value docref_root 0
php_value docref_ext 0
ini_set("display_errors", 0);
php_flag display_errors off
php_flag log_errors on
php_flag track_errors on
php_value error_log /path/php_error_log
ErrorDocument 401 /error401.html
ErrorDocument 403 /error403.html
ErrorDocument 404 /error403.html
ErrorDocument 500 /error500.html