please specify user and group other than root, pool 'default'

  1. 云栖社区>
  2. 博客>
  3. 正文

please specify user and group other than root, pool 'default'

rrr1111 2014-07-13 00:54:00 浏览712
展开阅读全文
 

[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 启动成功!



网友评论

登录后评论
0/500
评论
rrr1111
+ 关注