PHP command line run does not show errors
Try to set error_reporting to E_ALL instead of -1, this did the trick for me.
source: http://www.php.net/manual/en/function.error-reporting.php#85096
To override display_errors=Off
in php.ini, add a -d
flag to the command line:
php -d display_errors=on script.php
Or just edit the ini and turn the flag on.