title: PHP parsing error causes connection reset
body: <p>I have been coding on the same system for a couple years, but recently I had missed a close bracket } and instead of a descriptive error, the browser gave me a "connection reset" error.</p>
  
  <p>This is on localhost (windows vista, PHP Version 5.2.5, apache2.2) I have display_errors on, development environment, the Php.ini file is error report <code>E_ALL &amp; E_STRICT &amp; E_NOTICE</code>.  These have not changed since this problem has occurred..</p>
  
  <p>Stranger still, I have a simple phpinfo() file written, and when I hit it in firefox, it displays, and then at the end the connection is reset.  with chrome, seems to work.</p>
  
  <p>I'm baffled, but just noticed that when I get the phpinfo page displayed, error_reporting is 0 when in the php.ini file, <code>error_reporting=E_ALL &amp; E_STRICT &amp; E_NOTICE</code>.  there is nothing else that should be overriding this.</p>
  
  <p>Update:  I am finding that even simple errors (referencing a value that doesn't exists, with E_STRICT on) will cause the connection reset problem.</p>
  
  <p>Update 2: I know most people will think this question has been answered 100 times, this is different.</p>
  
  <p>2 files:</p>
  
  <pre><code>ini_set('display_errors','On');
  ini_set('display_startup_errors','On');
  error_reporting(E_ALL|E_STRICT);
  include("file2.php");
  </code></pre>
  
  <p>file2.php:
  has a parse error </p>
  
  <pre><code>if(isset($x){echo "HI";}
  </code></pre>
  
  <p>On my development server - Connection Reset (error 500)
  on my production server - displays parse error.</p>