Categories
PHP

PHP Errors

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

Quick and dirty – add this to your PHP file to show all errors instead of server error 500 message