Server got upgraded from PHP 5.2 to 5.3 and now I am no longer getting syntax errors, just a blank white page. I know this is a common question, and I normally know what needs to be done, I've just never had this situation before.
php.ini has display_errors on and error_reporting is set to E_ALL & E_NOTICE. Are there any other directives that could be affecting it? I used to get syntax error messages ("Unexpected ; in file on line...").
Am I being really stupid here?
error_reporting(-1);at the top of the file to see if that works?<?php phpinfo(); ?>you can determine which php.ini file your site is usingphp -l myFile.php. This should catch syntax error, not run-time errors.