php-fpm 启动报please specify user and group other

原文连接: 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

  1. <!-- <value name="user">nobody</value> -->  url

  2. Unix group of processes  spa

  3. <!-- <value name="group">nobody</value> -->  .net




\修改为 nginx 指定的用户与组\

unix

[php] view plain copy orm

  1. <value name="user">www</value>   

  2. Unix group of processes  

  3. <value name="group">www</value>  



或者咱们也能够这样配置 启用nobody用户选项



[php] view plain copy 

  1. <!-- <value name="user">nobody</value> -->  

  2.   

  3. 改为  

  4.   

  5.   

  6. <value name="user">nobody</value>  

相关文章
相关标签/搜索