rgb192
asked on
iis7 want php to display errors
due to settings on a production iis7 windows server 2008
php
error_reporting(E_ALL);
does not display errors
how to change the iis7 settings to display errors for a development website
php
error_reporting(E_ALL);
does not display errors
how to change the iis7 settings to display errors for a development website
ASKER
no support because dedicated server with no control panel, I hid the errors somehow
What exactly are you getting? A blank page or is it ignoring the errors?
You may be interested in
http://phpmanager.codeplex.com/
It's probably fixed by
C:\windows\system32\inetsr v>appcmd.e xe set config "<your site name>" -section:system.webServer/ httpErrors /existingResponse:"PassThr ough"
http://forums.iis.net/t/1172537.aspx
You may be interested in
http://phpmanager.codeplex.com/
It's probably fixed by
C:\windows\system32\inetsr
http://forums.iis.net/t/1172537.aspx
ASKER
C:\windows\system32\inetsrv>appcmd.e xe set config "<your site name>" -section:system.webServer/ httpErrors /existingResponse:"PassThr ough"
I can not do the commands. Is there a button I could press in iis7 manager?
On a browser, I see '500 error'
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Cathal
detailed errors is what I asked for.
There were alot of 'details' but no relevant information about php error.
Ray's trigger error looked the same before and after 'detailed errors'. I saw a real php error.
Thanks both.
detailed errors is what I asked for.
There were alot of 'details' but no relevant information about php error.
Ray's trigger error looked the same before and after 'detailed errors'. I saw a real php error.
Thanks both.
ini_set('display_errors', TRUE);
error_reporting(E_ALL);
If that does not get what you want, contact your hosting provider and ask them to set things up so you can see errors. You may also want to consider setting up an error log.