CentOS 6.2配置php-cgi错误解决办法
CentOS 6.2配置php-cgi错误解决办法:
[root@host1 php-5.2.10]# /usr/local/php-5.2.10/sbin/php-fpm start
Starting php_fpm Apr 10 02:59:31.509496 [ERROR] fpm_unix_conf_wp(), line 124: please specify user and group other than root, pool 'default'
................................... failed
解决办法;
只需要修改php-fpm.conf
Unix user of processes
nobody -->
Unix group of processes
nobody -->
将去掉即可。至于user/group根据实际情况修改(www)。
重新启动 /usr/local/webserver/php-fpm/sbin/php-fpm start 成功了!
相关推荐
changecan 2020-11-19
ECSHOP专属建设 2020-11-13
88427810 2020-11-02
步知道 2020-10-27
Junzizhiai 2020-10-10
jackalwb 2020-10-05
小网管 2020-09-03
shiwenqiang 2020-09-14
85251846 2020-09-14
summerinsist 2020-08-21
87901735 2020-08-19
PinkBean 2020-08-11
85407718 2020-08-09
MichelinMessi 2020-07-30
suosuo 2020-07-28
CARBON 2020-07-28
lizhengfa 2020-07-27
88427810 2020-07-26