title: Display PHP Errors in IIS
body: <p>I am trying to get PHP errors to display on the screen using IIS vrs 8.5 and PHP vrs 5.2.17, but I continue to get the IIS 500 error http page, or a blank screen. I have already found numerous SO posts that have supposed fixes, but nothing on them has fixed my problem yet. Here is what I have tried.</p>
  
  <ul>
  <li>Changed errorMode to Detailed. Still getting the 500 error page instead of the php error.</li>
  <li>Removed all of the custom errors in the default IIS config file under the "httpErrors" block. Still getting the IIS custom 500 error page.</li>
  <li>Added existingResponse="PassThrough" to my httpErrors block in the default IIS config. Doing this causes me to get a blank page instead of the php error, or the IIS 500 error.</li>
  <li>I have verified that none of these settings are being overwritten in the site default system.config files.</li>
  </ul>
  
  <p>Currently I am getting a blank page instead of the IIS 500 error on the screen. I have already verified that display_errors is on, and error_reporting is correct. I also know that the php page runs just fine. I am purposely causing this php error by removing a semi-colon on the page. So I already know everything is working fine. PHP Error logging is also working, but I want the errors to display on the page so I dont have to look at the error log every 5 minutes.</p>
  
  <p>What else could be causing this?</p>