IIS 7.5 with PHP 5.3, displaying errors on page
- by dreamlax
I'm running Windows Server 2008 R2, with IIS 7.5 and PHP 5.3 (configured by FastCGI). In my php.ini I have:
log_errors = On
display_errors = Off
error_log = syslog (also tried an actual file with appropriate permissions)
Each time a page contains an error, it is never logged anywhere, but it is displayed on the page (unless I turn log_errors off). I'm guessing that the stderr from php-cgi.exe is being put on the page, instead of being logged where it is supposed to be. Is there a setting somewhere that allows me to log these errors properly?