Blank page on parse errors
Posted: Fri May 12, 2006 2:34 pm
Hi,
My provider recently upgraded their PHP to 4.4.2 and a few settings have changed. However, if I run the following code it works, but when I apply a deliberate mistake (remove a semi-coln for example) which should fail on the parse, I don't get an error, I just get a completely blank page. Can anyone advise me on where to start looking?
Many thanks in advance,
Richard.
My provider recently upgraded their PHP to 4.4.2 and a few settings have changed. However, if I run the following code it works, but when I apply a deliberate mistake (remove a semi-coln for example) which should fail on the parse, I don't get an error, I just get a completely blank page. Can anyone advise me on where to start looking?
Many thanks in advance,
Richard.
Code: Select all
<?php
ini_set('display_errors' , 'on');
ini_set('display_startup_errors', 'on');
error_reporting(E_ALL);
phpinfo(INFO_CONFIGURATION); //remove ; here to create parse error and page just loads blank in browser
die();
?>