Show error 500 when php fails
<p>I am trying to find how to force php server to throw error 500 when parsing php files fail. The reason is that I use php to build backend service. I can only do it in the .htaccess file. </p>

<p>At this stage my errors are entirely enabled, so when something goes wrong in php I get nice message where is the problem.</p>

<p>How can I disable displaying error and throwing just 500 when there is syntax error in php file ? Most of the cases I tried to find on web deal with opposite problem :D </p>