Showing all errors and warnings
Display errors could be turned off in the php.ini or your Apache config file.
You can turn it on in the script:
error_reporting(E_ALL); ini_set('display_errors', 1);
You should see the same messages in the PHP error log.
Share