My server (Apache2, PHP5) returns a blank page with Header Code 500 whenever it comes across a simple parse error in PHP. For instance:
<?php functiondoesnotexist(); ?>
or
<?php echo 'with2semicolons';; ?>
Does not output one of those orange tables telling me what's wrong, the server simply bails.
I've checked the Apache error logs and it is indeed telling me the error (for instance Undefined function functiondoesnotexist()
).
How can I stop this behaviour? My php.ini
is (as far as I know) untouched.