I have this code which should of course throw a few errors. But no errors are displayed at all, it just loads a blank page. I read PHP not displaying errors even though display_errors = On but it did not help.
<?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
blaswagagsd
gfdasgyoloeaifs
echo $_SERVER['SERVER_SOFTWARE'] sdfga
?>
/etc/php5/apache2/php.ini
display_errors = On
; Default Value: On
; Development Value: On
; Production Value: Off
error_reporting = E_ALL
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
; Development Value: E_ALL
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
I also set the same settings in /etc/php5/cli/php.ini
. Of course I restarted Apache after I changed the php.ini
.
What else can I try?