Skip to content

Instantly share code, notes, and snippets.

@aa21
Last active April 7, 2018 08:02
Show Gist options
  • Save aa21/2ac128484a160d6d162b to your computer and use it in GitHub Desktop.
Save aa21/2ac128484a160d6d162b to your computer and use it in GitHub Desktop.
PHP
<?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