Skip to content

Commit 0dc8a8c

Browse files
committed
Fix naming
The global section is named "General", but the correct section name is "global". It is "global" in #1313 and also "global" in https://github.com/php/php-src/blob/master/sapi/fpm/php-fpm.conf.in. The commit fixes the naming. However, the proposed change might break any tooling that relies on finding "General" in the output though.
1 parent 3a5fa92 commit 0dc8a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sapi/fpm/fpm/fpm_conf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1573,7 +1573,7 @@ static void fpm_conf_dump() /* {{{ */
15731573
/*
15741574
* Please keep the same order as in fpm_conf.h and in php-fpm.conf.in
15751575
*/
1576-
zlog(ZLOG_NOTICE, "[General]");
1576+
zlog(ZLOG_NOTICE, "[global]");
15771577
zlog(ZLOG_NOTICE, "\tpid = %s", STR2STR(fpm_global_config.pid_file));
15781578
zlog(ZLOG_NOTICE, "\terror_log = %s", STR2STR(fpm_global_config.error_log));
15791579
#ifdef HAVE_SYSLOG_H

0 commit comments

Comments
 (0)