1. 程式人生 > >php-fpm:No pool defined解決方法

php-fpm:No pool defined解決方法

php-fpm:No pool defined解決方法

[[email protected] etc]# systemctl start php-fpm.service
Starting php-fpm [28-Nov-2018 17:13:23] WARNING: Nothing matches the include pattern ‘/usr/local/php/etc/php-fpm.d/*.conf’ from /usr/local/php/etc/php-fpm.conf at line 125.
[28-Nov-2018 17:13:23] ERROR: No pool defined. at least one pool section must be specified in config file
[28-Nov-2018 17:13:23] ERROR: failed to post process the configuration
[28-Nov-2018 17:13:23] ERROR: FPM initialization failed

解決方法:

進入PHP安裝目錄/etc/php-fpm.d

cp www.conf.default www.conf