PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
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?
<?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();
?>
<?php
error_reporting(E_ALL);
ini_set('display_errors' , true);
ini_set('display_startup_errors', true);
phpinfo(INFO_CONFIGURATION); //remove ; here to create parse error and page just loads blank in browser
die();
?>
Not sure if it will do the trick, but it is worth a shot.