php-fpm启动失败

[22-Sep-2015 14:29:00] 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.
[22-Sep-2015 14:29:00] ERROR: No pool defined. at least one pool section must be specified in config file
[22-Sep-2015 14:29:00] ERROR: failed to post process the configuration
[22-Sep-2015 14:29:00] ERROR: FPM initialization failed

 大概意思就是说找不到 /usr/local/php/etc/php-fpm.d/目录下的配置文件。 进入里面的目录,会有一个www.conf.default文件。复制该文件并重命名为www.conf

定位到里面文件的 user = nobody 和 group = nobody ,调整为相应的用户名与用户组。最后启动PHP-FPM

posted @ 2020-01-17 14:40  pengcx  阅读(1067)  评论(0编辑  收藏  举报