php-fpm:No pool defined解决方法

php-fpm:No pool defined解决方法

[root@localhost 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

你可能感兴趣的