Created
July 23, 2014 07:52
-
-
Save apphp/ffa35d4699609bac697e to your computer and use it in GitHub Desktop.
Error Logging in .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 | |
| # source: http://www.apphp.com/index.php?snippet=htaccess-error-logging | |
| php_flag display_startup_errors off | |
| php_flag display_errors off | |
| php_flag html_errors off | |
| # log to file | |
| php_flag log_errors on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment