Php-fpm error: No pool defined. At least one pool section

operating environment: MacOS 10.13.6
launch php-fpm Times error content:

[18-Aug-2018 22:43:11] ERROR: No pool defined. at least one pool section must be specified in config file
[18-Aug-2018 22:43:11] ERROR: failed to post process the configuration
[18-Aug-2018 22:43:11] ERROR: FPM initialization failed

php-fpm profile contents (valid configuration is only three lines):

[global]
error_log = /usr/local/var/log/php-fpm.log
pid = /usr/local/var/run/php-fpm.pid

the directory where the configuration file is located: / private/etc/php-fpm.conf
run the command: sudo php-fpm

add: I understand that I probably want to configure "pool", which can be searched on the Internet, but I can"t solve this problem, so I have to ask for help. Thank you

.
Apr.12,2021

take a closer look at your php-fpm.conf file

;;;;;;;;;;;;;;;;;;;;
; Pool Definitions ;
;;;;;;;;;;;;;;;;;;;;

; Multiple pools of child processes may be started with different listening
; ports and different management options.  The name of the pool will be
; used in logs and stats. There is no limitation on the number of pools which
; FPM can handle. Your system will tell you anyway :)

; Include one or more files. If glob(3) exists, it is used to include a bunch of
; files from a glob(3) pattern. This directive can be used everywhere in the
; file.
; Relative path can also be used. They will be prefixed by:
;  - the global prefix if it's been set (-p argument)
;  - /app/php/7.2.7 otherwise
include=/app/php/7.2.7/etc/php-fpm.d/*.conf

notice the last line above, go to your corresponding folder and rename the default www.conf.default to www.conf.

Menu