summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorFerenc Kovacs <tyrael@php.net>2014-06-30 18:38:54 +0200
committerFerenc Kovacs <tyrael@php.net>2014-06-30 18:38:54 +0200
commitd810c2139fa16953d1a1661e8616046716dd247c (patch)
treea4239a91684ab732cf3e64e29bfd0197bbfe43a4 /sapi
parent3ec93ee19f174f27285872515d236028f0e079f9 (diff)
parente5fdb5b3f02fcb61efa5aa7d6e5ccd15838470a2 (diff)
downloadphp-git-d810c2139fa16953d1a1661e8616046716dd247c.tar.gz
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: remove the NEWS entry for the reverted fpm fix remove the NEWS entry for the reverted fpm fix Revert "Fix Bug #67530 error_log=syslog ignored"
Diffstat (limited to 'sapi')
-rw-r--r--sapi/fpm/fpm/fpm_stdio.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sapi/fpm/fpm/fpm_stdio.c b/sapi/fpm/fpm/fpm_stdio.c
index fcec78435b..33b0e01c87 100644
--- a/sapi/fpm/fpm/fpm_stdio.c
+++ b/sapi/fpm/fpm/fpm_stdio.c
@@ -268,11 +268,7 @@ int fpm_stdio_open_error_log(int reopen) /* {{{ */
if (!strcasecmp(fpm_global_config.error_log, "syslog")) {
openlog(fpm_global_config.syslog_ident, LOG_PID | LOG_CONS, fpm_global_config.syslog_facility);
fpm_globals.error_log_fd = ZLOG_SYSLOG;
-#if HAVE_UNISTD_H
- if (fpm_global_config.daemonize || (!isatty(STDERR_FILENO) && !fpm_globals.force_stderr)) {
-#else
if (fpm_global_config.daemonize) {
-#endif
zlog_set_fd(fpm_globals.error_log_fd);
}
return 0;