Bug #68543 [Com]: syslog adds description for Event ID x from source y cannot be found

From: Date: Wed, 03 Dec 2014 15:54:05 +0000
Subject: Bug #68543 [Com]: syslog adds description for Event ID x from source y cannot be found
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-188901@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68543&edit=1 ID: 68543 Comment by: php at sanexeh dot nl Reported by: php at sanexeh dot nl Summary: syslog adds description for Event ID x from source y cannot be found Status: Open Type: Bug Package: IIS related Operating System: Windows 2012 R2 PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Might be duplicate for https://bugs.php.net/bug.php?id=8314 and https://bugs.php.net/bug.php?id=23015. Those are about Windows 2000. I'm unable to reproduce on that OS anymore ;). Previous Comments: ------------------------------------------------------------------------ [2014-12-03 15:52:54] php at sanexeh dot nl Description: ------------ On Microsoft Windows OS (at least 2003 and newer) an invalid Event ID is passed when creating an event log (Event Viewer => Windows Logs => Application) Test script: --------------- php.exe -n -r "syslog(LOG_CRIT, 'hello there'); Expected result: ---------------- php[5500] hello there Actual result: -------------- The description for Event ID 4 from source PHP-5.5.19 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: php[5500] hello there ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68543&edit=1

« previous php.bugs (#188901) next »