Created
January 6, 2013 02:38
-
-
Save drifterz28/4464864 to your computer and use it in GitHub Desktop.
log errors in log file
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
@ini_set('log_errors','On'); | |
@ini_set('display_errors','Off'); | |
@ini_set('error_log','/home/example.com/logs/php_error.log'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment