Revision: 66994
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 27, 2014 18:07 by apphp-snippets
Initial Code
# display no errs to user php_flag display_startup_errors off php_flag display_errors off php_flag html_errors off # log to file php_flag log_errors on php_value error_log /location/to/php_error.log
Initial URL
http://www.apphp.com/index.php?snippet=htaccess-error-logging
Initial Description
This example shows you how to log errors to a file, and prevent showing them to the user. Make sure that the file exists and you're able to write to it.
Initial Title
Error Logging in .htaccess
Initial Tags
error, htaccess, log
Initial Language
Bash