Log description in Event Viewer while logging PHP information logs on IIS -


i have php website hosted on iis 8 server running on windows server 2012. have php 5.3.28 installed. want log information messages in event viewer. have tried following code:

openlog('php', log_cons | log_ndelay | log_pid, log_user | log_perror); syslog(log_info, 'this message'); closelog(); 

i turned on error_reporting in php.ini , set error_log=syslog

the following entry in event viewer:

the description event id 2 source php-5.3.28 cannot found. either component raises event not installed on local computer or installation corrupted. can install or repair component on local computer.  if event originated on computer, display information had saved event.  following information included event:   php[10052] message 

i feel there configuration required in php.ini, not able ascertain can provide generic description log message.

you can download reg file here change php-5.3.99-dev version example php-5.7.0 change eventmessagefile value g:\test\srctrunkinstall\php7ts.dll to


Comments