Created
July 23, 2013 20:00
-
-
Save aamortimer/6065641 to your computer and use it in GitHub Desktop.
HTACCESS: Error Logging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# suppress PHP errors from displaying in the browser | |
php_flag display_startup_errors off | |
php_flag display_errors off | |
php_flag html_errors off | |
# log PHP errors to a file | |
php_flag log_errors on | |
php_value error_reporting 32767 | |
php_value error_log "path/to/log" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment