Where on earth is the php-fpm configuration file in Mac?

Mac builds the Nginx+PHP environment, using the built-in php-fpm, configuration file in / etc/php-fpm.conf,error_log

; Error log file
 20 ; If it"s set to "syslog", log is sent to syslogd instead of being written
 21 ; into a local file.
 22 ; Note: the default prefix is /usr/local
 23 ; Default Value: log/php-fpm.log
 24 ;error_log = /var/log/php-fpm.log
-sharp/usr/local/var/log/php-fpm.log

execute error

sudo php-fpm
[25-Oct-2018 15:30:38] ERROR: failed to open error_log (/usr/var/log/php-fpm.log): No such file or directory (2)
[25-Oct-2018 15:30:38] ERROR: failed to post process the configuration
[25-Oct-2018 15:30:38] ERROR: FPM initialization failed

awkward. Even if I delete everything in / etc/php-fpm.conf, I will still report such an error, but if I delete / etc/php-fpm.conf, I will report such an error

sudo php-fpm
[25-Oct-2018 15:32:02] ERROR: failed to open configuration file "/private/etc/php-fpm.conf": No such file or directory (2)
[25-Oct-2018 15:32:02] ERROR: failed to load configuration file "/private/etc/php-fpm.conf"
[25-Oct-2018 15:32:02] ERROR: FPM initialization failed

so I really don"t understand whether php-fpm is configured to read php-fpm.conf or not to read php-fpm.conf,.

Sep.16,2021

I've solved it.
executed the following command:
sudo cp / private/etc/php-fpm.conf.default / private/etc/php-fpm.conf
sudo cp / private/etc/php-fpm.d/www.conf.default / private/etc/php-fpm.d/www.conf
sudo php-fpm-y / private/etc/php-fpm.conf-- prefix / usr/local/var


php --ini
Configuration File (php.ini) Path: /usr/local/etc/php/7.2

/usr/local/etc/php/7.2
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5098e-450c0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5098e-450c0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?