Created
June 28, 2011 14:32
-
-
Save wildiney/1051250 to your computer and use it in GitHub Desktop.
.htaccess - Registering Errors on PHP
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
# display no errors 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment