|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-08-10 22:15 UTC] ab@php.net
-Status: Open
+Status: Wont fix
[2016-08-10 22:15 UTC] ab@php.net
[2017-04-24 15:38 UTC] saeed_sol at yahoo dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 01:00:01 2025 UTC |
Description: ------------ Starting with PHP 7 (PHP 5 works fine) the PHP7.dll is missing the windows event viewer logs 2 / 3 information to work on the events For example: In PHP 5 this reports to Windows Event Log as Information: myapplication Something has happened Yellow warning: myapplication Something bad has happened In PHP7 when properly configured to point to the PHP7 dll location the following error is presented The description for Event ID 3 from source PHP-7.0.9 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: myapplication Something bad has happened The description for Event ID 2 from source PHP-7.0.9 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: myapplication Something has happened Test script: --------------- <?php if(function_exists('syslog')) { openlog('myapplication', LOG_NDELAY, LOG_USER); syslog(LOG_NOTICE, "Something has happened"); syslog(LOG_ERR, "Something bad has happened"); } else { echo "nope"; } ?> Expected result: ---------------- Information: myapplication Something has happened Yellow warning: myapplication Something bad has happened Actual result: -------------- The description for Event ID 3 from source PHP-7.0.9 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: myapplication Something bad has happened The description for Event ID 2 from source PHP-7.0.9 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: myapplication Something has happened