Bug #68543 [NEW]: syslog adds description for Event ID x from source y cannot be found
| From: | php at sanexeh dot nl | Date: | Wed, 03 Dec 2014 15:52:54 +0000 |
| Subject: | Bug #68543 [NEW]: syslog adds description for Event ID x from source y cannot be found | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-188900@lists.php.net to get a copy of this message | ||
From: php at sanexeh dot nl
Operating system: Windows 2012 R2
PHP version: Irrelevant
Package: IIS related
Bug Type: Bug
Bug description:syslog adds description for Event ID x from source y cannot be found
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 bug report at https://bugs.php.net/bug.php?id=68543&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68543&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68543&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68543&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68543&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68543&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68543&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68543&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68543&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68543&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68543&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68543&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68543&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68543&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68543&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68543&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68543&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68543&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68543&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68543&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68543&r=mysqlcfg