Can't get PHP Errors in IIS7.5
Posted
by
Erling Thorkildsen
on Server Fault
See other posts from Server Fault
or by Erling Thorkildsen
Published on 2010-02-21T21:55:31Z
Indexed on
2012/07/03
21:17 UTC
Read the original article
Hit count: 155
I've tried the previously answered questions regarding this to no avail.
Just installed PHP5 and IIS on my Windows 7 machine and I'm having trouble getting PHP Errors displayed instead of 500 Errors.
In PHP;
error_reporting = E_ALL
display_errors = On
In IIS I have htmlErrors set to Detailed which shows a detailed IIS 500 Error page. If set to Custom it shows a basic 500 Error page.
If I set it to PassThrough I get a blank page (view-source reveals no code).
My PHP log file is showing a Fatal PHP Runtime Error.
© Server Fault or respective owner