title: PHP FPM returns HTTP 500 for all PHP errors
body: <p>I am running nginx with PHP-FPM. My nginx configuration for handling php files looks like this:</p>
  
  <pre><code>location  ~ \.php$ {
              set $php_root /home/me/www;
              fastcgi_pass   127.0.0.1:9000;
              fastcgi_index  index.php;
              fastcgi_param  SCRIPT_FILENAME  $php_root$fastcgi_script_name;
              include /etc/nginx/fastcgi_params;
          }
  </code></pre>
  
  <p>Now, I have a simple php file like this:</p>
  
  <pre><code>&lt;?php
       ech "asd"
       asd""
  ?&gt;
  </code></pre>
  
  <p>Yes, with an obvious error. When I try accessing the php file, instead of tracing a syntax error, I always get a HTTP 500 Internal Server Error.I tried using <code>error_reporting(-1);</code> but still it always returns HTTP 500. How do I get PHP to print the exact error instead of returning a generic HTTP 500?</p>