php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #81324
Patch syslog_openlog.patch revision 2021-08-03 06:37 UTC by erik at coretech dot se

Patch syslog_openlog.patch for FPM related Bug #81324

Patch version 2021-08-03 06:37 UTC

Return to Bug #81324 | Download this patch
Patch Revisions:

Developer: erik@coretech.se

--- sapi/fpm/fpm/fpm_stdio.c	2021-08-02 13:33:20.949266244 +0200
+++ sapi/fpm/fpm/fpm_stdio.c	2021-08-03 08:35:21.813402549 +0200
@@ -89,6 +89,7 @@
 #ifdef HAVE_SYSLOG_H
 	if (fpm_globals.error_log_fd == ZLOG_SYSLOG) {
 		closelog(); /* ensure to close syslog not to interrupt with PHP syslog code */
+		PG(have_called_openlog) = 0;
 	} else
 #endif
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 02:01:28 2024 UTC