原文連接: http://www.zhixing123.cn/PHP/28761.htmlphp
php-fpm 啓動報please specify user and group other than root, pool ‘default’ 錯誤解決方案html
安裝PHP ,配置fpm 成功後啓動發現報錯:
Starting php_fpm Aug 03 06:51:54.269165 [ERROR] fpm_unix_conf_wp(), line 124: please specify user and group other than root, pool ‘default’nginx
解決辦法:
修改php-fpm.conf
ide
[php] view plain copy php-fpm
<!-- <value name="user">nobody</value> --> url
Unix group of processes spa
<!-- <value name="group">nobody</value> --> .net
\修改爲 nginx 指定的用戶與組\
unix
[php] view plain copy orm
<value name="user">www</value>
Unix group of processes
<value name="group">www</value>
或者咱們也能夠這樣配置 啓用nobody用戶選項
[php] view plain copy
<!-- <value name="user">nobody</value> -->
改爲
<value name="user">nobody</value>