PHP Show All Errors

Advertisement

Advertisement

To show all errors in PHP use these two functions:

error_reporting(E_ALL);
ini_set('display_errors', '1');

If you are using a framework or CMS, a good place to put it is your settings or bootstrap file. For Drupal I recommend the settings.php file.

Advertisement

Advertisement