centos 16安装PHP7.0 异常 No pool defined. at least one pool section must be specified in config file
异常内容:
root@ubuntu:/data/server/php7/lib/php# /data/server/php7/sbin/php-fpm
[27-Mar-2018 20:57:22] WARNING: Nothing matches the include pattern '/data/server/php7/etc/php-fpm.d/*.conf' from /data/server/php7/etc/php-fpm.conf at line 125.
[27-Mar-2018 20:57:22] ERROR: No pool defined. at least one pool section must be specified in config file
[27-Mar-2018 20:57:22] ERROR: failed to post process the configuration
[27-Mar-2018 20:57:22] ERROR: FPM initialization failed
root@ubuntu:/data/server/php7/lib/php#
解决方法:
cp /data/server/php7/etc/php-fpm.d/www.conf.default /data/server/php7/etc/php-fpm.d/www.conf