Created
April 15, 2012 06:11
-
-
Save silv3rm00n/2390363 to your computer and use it in GitHub Desktop.
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' , true); | |
ini_set('error_log' , '/var/www/php_error.txt'); | |
ini_set('display_errors' , '0'); | |
error_reporting( 0 ); //No php_error.txt created | |
error_reporting( E_ALL ); //php_error.txt created and works |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment