fullman Posted May 14, 2007 Share Posted May 14, 2007 Not sure what's wrong, but I can't get PHP to write to the Windows syslog at all... In the php.ini file, I have the following set: error_reporting = E_ALL log_errors = On error_log = syslog I've cleared out the Event Viewer in all categories just to be sure, ran the app that's causing the error (which results in a blank page if Display Errors is set to off, but a number of errors if it's set to on), but nothing is being written to the syslog. Anyone have any ideas what's preventing PHP from writing out the errors? Environment: Windows Server 2003 Standard PHP 5.2.1 (via ISAPI module) IIS 6 MySQL 4.0.22-nt Link to comment https://forums.phpfreaks.com/topic/51372-php-not-writing-to-windows-syslog/ Share on other sites More sharing options...
wildteen88 Posted May 14, 2007 Share Posted May 14, 2007 Change syslog to "C:/php.log" (including the quotes) instead. Save the php.ini, create the file php.log in C:/ restart IIS. All errors will now be written to C:/php.log Link to comment https://forums.phpfreaks.com/topic/51372-php-not-writing-to-windows-syslog/#findComment-253002 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.