please specify user and group other than root, pool 'default'
[root@luozhonghua etc]# /usr/local/php/sbin/php-fpm start
Starting php_fpm Jul 12 09:41:02.077951 [ERROR] fpm_unix_conf_wp(), line 124: please specify user and group other than root, pool 'default'
[root@luozhonghua etc]# vi php-fpm.conf
找到
<!-- <value name="user"></value> -->
默认与nginx.conf 用户名 一致,都为nobody修改为:
<value name="user">nobody</value
[root@luozhonghua etc]# /usr/local/php/sbin/php-fpm start
Starting php_fpm . done
[root@luozhonghua etc]#
php_fpm 启动成功!
地瓜园