Where does IIS 7.5 log errors?
Event Viewer? Log File?
I get a very nonspecific internal 500 error. I would like to find out more.
I'm running PHP and I did what this last comment on this post said. But still it is not logging to the C:\windows\temp
folder.
IIS Logs Location: On a standard Windows Server, IIS log files are found at %SystemDrive%\inetpub\logs\LogFiles by default.
There are a few ways to locate the IIS log files in Windows Server 2012. Open the Server Manager and click IIS in the side menu located on the left side of the screen. Right-click the server that is installed under IIS, and on the menu that is displayed, click Internet Information Services (IIS) Manager.
To report errors in Event Viewer, go to your php.ini file and make sure logging is on.
log_errors = On
Then enable error_log
to write to syslog
(with is Event Viewer on a Windows machines)
error_log = syslog
For PHP v5.3, look here:
C:\Windows\Temp\PHP53_errors.log
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With