This article will introduce to you the solution to the php-fpm startup report please specify user and group other than root, pool ‘default’.
Install PHP and configure fpm. After successful startup, an error message is reported:
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’
Solution:
Modify php-fpm.conf
The code is as follows
代码如下 |
复制代码 |
Unix group of processes
修改成 nginx 指定的用户与组
www
Unix group of processes
www
|
|
Copy code
Unix group of processes
Modify to the user and group specified by nginx
www
Unix group of processes
代码如下 |
复制代码 |
[root@localhost conf]# php-fpm start
Starting php_fpm done
|
www |
|
Or we can also configure it like this
The code is as follows
|
Copy code
changed to
nobody
Modify start:
The code is as follows
|
Copy code
|
[root@localhost conf]# php-fpm start
Starting php_fpm done
http://www.bkjia.com/PHPjc/632064.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632064.htmlTechArticleThis article will introduce to you about php-fpm startup report please specify user and group other than root, pool 'default 'Solution. Install PHP and configure fpm. After successful startup, an error is reported...
|
|
|
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn