# Turn off error hiding on iis7

I just installed IIS 7 on Vista, got PHP running, but I cant avoid the stupid default 500 error page if there is a problem with my php script, eg a compliation error etc.

How do I set up IIS (or maybe php) to show me the error thats causing the 500 problem.

Thanks

-

%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpErrors -existingResponse:PassThrough