Skip to content

Instantly share code, notes, and snippets.

@alecourtes
Forked from aa21/PHP - Show me the error
Created July 31, 2015 12:57
Show Gist options
  • Save alecourtes/5df2499d3c34fe65a7ec to your computer and use it in GitHub Desktop.
Save alecourtes/5df2499d3c34fe65a7ec to your computer and use it in GitHub Desktop.
PHP : Show me the error
<?php
error_reporting(-1); // reports all errors
ini_set("display_errors", "1"); // shows all errors
ini_set("log_errors", 1);
ini_set("error_log", "/tmp/php-error.log");
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment