Created
June 6, 2011 22:13
-
-
Save jorgepedret/1011236 to your computer and use it in GitHub Desktop.
Log PHP errors (htaccess)
This file contains hidden or 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 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment