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 'defau
 

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



目录
相关文章
|
4月前
|
Java 数据库 开发者
8-3|org.logicalcobwebs.proxool.default - Shutting down 'default' pool immediately [Shutdown Hook]
8-3|org.logicalcobwebs.proxool.default - Shutting down 'default' pool immediately [Shutdown Hook]
|
5月前
|
安全 关系型数据库 MySQL
MySQL非root安装-初始化数据库时unknown variable ‘defaults-file=**/my.cnf‘
解决安装过程中出现的问题通常需要仔细地检查错误日志、配置文件和执行命令,保证各项配置设置的精确无误是顺利完成安装的关键。通过上述的步骤分析和解决方案,非root用户安装MySQL时遇到"unknown variable 'defaults-file=**/my.cnf'"的问题应该可以得到妥善的解决。
506 0
|
Ubuntu 数据安全/隐私保护
All data created during this guest session will be deleted when you log out 问题的解决
All data created during this guest session will be deleted when you log out 问题的解决
198 0
|
8月前
|
JavaScript API
Property ‘proxy‘ does not exist on type ‘ComponentInternalInstance | null‘.ts
Property ‘proxy‘ does not exist on type ‘ComponentInternalInstance | null‘.ts
|
编译器
[C++11]中 =delete和=default
[C++11]中 =delete和=default
76 0
[C++11]中 =delete和=default
|
SQL 存储 关系型数据库
MySQL - Unknown table in MULTI DELETE
MySQL - Unknown table in MULTI DELETE
414 0
|
关系型数据库 MySQL Windows
Mysql (ONLY_FULL_GROUP_BY) Expression #1 of SELECT list is not in GROUP BY ...
Mysql (ONLY_FULL_GROUP_BY) Expression #1 of SELECT list is not in GROUP BY ...
97 0
ES6的Set详解
ES6的Set详解
78 0
|
SQL 关系型数据库 MySQL
only_full_group_by问题而引发的对group by的深入思考
only_full_group_by问题而引发的对group by的深入思考
168 0
|
前端开发
AI助理

你好,我是AI助理

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