Skip to content

Instantly share code, notes, and snippets.

@silv3rm00n
Created April 15, 2012 06:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silv3rm00n/2390363 to your computer and use it in GitHub Desktop.
Save silv3rm00n/2390363 to your computer and use it in GitHub Desktop.
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