[ERROR] fpm_unix_conf_wp(), line 124: please specify user and group other than root, pool

简介:

[ERROR] fpm_unix_conf_wp(), line 124: please specify user and group other than root, pool ‘default’

 


出现些错误提示,请修改 php-fpm.conf (/usr/local/php/etc/php-fpm.conf)


                         Unix user of processes
                <!--    <value name="user">nobody</value>                          -->
 
                        Unix group of processes
                <!--    <value name="group">nobody</value>         --> 
换成


                        Unix user of processes
                        <value name="user">www</value>                          
 
                        Unix group of processes
                        <value name="group">www</value>


即去掉<!--   -->

启动php-fpm:

/usr/local/etc/rc.d/php-fpm start

本文转自linux博客51CTO博客,原文链接http://blog.51cto.com/yangzhiming/835296如需转载请自行联系原作者


yangzhimingg

目录
打赏
0
0
0
0
90
分享
相关文章
安装nginx:src/os/unix/ngx_user.c:26:7: error: ‘struct crypt_data’ has no member named ‘curren
安装nginx:src/os/unix/ngx_user.c:26:7: error: ‘struct crypt_data’ has no member named ‘curren
1076 1
安装nginx:src/os/unix/ngx_user.c:26:7: error: ‘struct crypt_data’ has no member named ‘curren
ERROR: NMO not setuid-root (Unix-only)错误的解决方法
ERROR: NMO not setuid-root (Unix-only)错误的解决方法 小麦苗在使用GC搭建DG的时候报错“NMO not setuid-root (Unix-only)”,网上搜索了半天,最后想起来是,安装agent后忘记执行root.sh脚本了,再执行该脚本后,问题解决。
1451 0
Error_Unix Shell_syntax error near unexpected token `fi&#39;
2014-06-19 BaoXinjian 1. Issue 调用如下Shell脚本时出现错误syntax error near unexpected token `fi'   2. Cause Unix 和 Window存放文件时其编码方式是不一致的,导致Window写好的文件放到Unix中,会有部分乱码出现,主要是换行阶段   3.
1057 0
|
11月前
|
在Unix/Linux操作系统中,Shell脚本广泛用于自动化任务
在Unix/Linux操作系统中,Shell脚本广泛用于自动化任务
106 2
|
2月前
|
Unix:Linux的“祖师爷”
Unix的诞生 Unix操作系统诞生于1969年,由肯·汤普逊(Kenneth Lane Thompson)和丹尼斯·里奇(Dennis MacAlistair Ritchie)在AT&T的贝尔实验室开发。其初衷是为了在闲置的PDP-7计算机上开发一个简单的操作系统,以便进行编程和游戏。最初的Unix是用汇编语言编写的,但随后为了更高效的开发和更好的可移植性,里奇和汤普逊用C语言重写了Unix的大部分代码,这奠定了Unix的基础,并促进了C语言的广泛应用。
38 2
UNIX/Linux 上的安装
UNIX/Linux 上的安装。
75 2
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等