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 f9d9c5e commit 86d472eCopy full SHA for 86d472e
sapi/fpm/fpm/fpm_stdio.c
@@ -297,7 +297,7 @@ int fpm_stdio_open_error_log(int reopen) /* {{{ */
297
298
#ifdef HAVE_SYSLOG_H
299
if (!strcasecmp(fpm_global_config.error_log, "syslog")) {
300
- openlog(fpm_global_config.syslog_ident, LOG_PID | LOG_CONS, fpm_global_config.syslog_facility);
+ php_openlog(fpm_global_config.syslog_ident, LOG_PID | LOG_CONS, fpm_global_config.syslog_facility);
301
fpm_globals.error_log_fd = ZLOG_SYSLOG;
302
if (fpm_use_error_log()) {
303
zlog_set_fd(fpm_globals.error_log_fd);
0 commit comments