Setting the directive display_errors to true (while having error_reporting set to E_ALL) prints all errors that occured durin
display_errors
true
error_reporting
E_ALL
ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); or set your php.ini with this line: display_errors=on