Search code examples
phpiis-7.5

Where does IIS 7.5 log errors?


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.


Solution

  • 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