Hello everyone,
i'm trying to get our systems shift to W2K8 and IIS7. Therefore i need to pass every php error to the windows event log (not an error log file!), but unfortunately i can't get it working. This is the only problem as the rest of my php scripts is working properly now. I'm using:
- IIS 7
- Windows Server 2008
- PHP 5.3.0
- Role Service: Cgi
- php.ini:
error_reporting = E_ALL & ~E_DEPRECATED
log_errors = On
error_log = syslog
Strange thing is, that calling php-fcgi.exe on the console passes the errors to the event log without any problem, although it prints a HTTP 500 status:
php-cgi.exe -c php.ini failure.php
Status: 500 Internal Server Error
Content-type: text/html; charset=utf-8
Even the setting of "fastcgi.logging" (0/1) doesn't fix this issue. I already granted permission for IIS_IUSRS and the Internet Guest Account via regedit to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\ and to C:\Windows\System32\winevt without success. Also php 5.2.10 and Zend Server (CE) did not pass it through.
Can anyone assist and tell me what to do?
Thanks in advance!
TU_MSN
PS: Where can i find the version of the FastCgi service?