I'm using error_log
which has been working fine for years under IIS 6. Recently I upgraded to IIS 7.5 (Windows 7) and the messages logged by error_log
stop appearing.
In fact nothing is going to the log. If I call an incorrect function to force a real PHP error, it gets reported to the screen, but not to the file. My ini settings:
display_errors=On
error_log='C:\Work...\php_errors.log'
log_errors=on
error_reporting=E_ALL & !E_DEPRECATED
I've also added < httpErrors existingResponse="PassThrough" />
to the web.config file in my virtual directory but it doesn't work even after a restart.
Can anyone shed any light?