We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d636467 commit 80a851bCopy full SHA for 80a851b
NEWS
@@ -15,6 +15,8 @@ PHP NEWS
15
- FPM:
16
. Fixed bug #67583 (double fastcgi_end_request on max_children limit).
17
(Dmitry Saprykin)
18
+ . Fixed bug #69865 (php-fpm does not close stderr when using syslog).
19
+ (m6w6)
20
21
- GD:
22
. Fixed bug #73968 (Premature failing of XBM reading). (cmb)
sapi/fpm/fpm/fpm_stdio.c
@@ -73,6 +73,12 @@ int fpm_stdio_init_final() /* {{{ */
73
return -1;
74
}
75
76
+#ifdef HAVE_SYSLOG_H
77
+ else if (fpm_globals.error_log_fd == ZLOG_SYSLOG) {
78
+ /* dup to /dev/null when using syslog */
79
+ dup2(STDOUT_FILENO, STDERR_FILENO);
80
+ }
81
+#endif
82
83
zlog_set_launched();
84
return 0;
0 commit comments