[英]Why will php-fpm not start?
I have setup an AWS EC2 instance and installed the following: 我已经设置了一个AWS EC2实例并安装了以下内容:
httpd24 php71 php71-fpm php71-mysqlnd mod24_ssl fcgi mod24_fcgid
I am wanting to run apache 2.4, php 7.1 and php-fpm. 我想运行apache 2.4,php 7.1和php-fpm。 In the below error I am also not understanding what 'nginx' is trying to do, I didn't think I had installed anything to run on nginx, if I am running apache.
在下面的错误中,我也无法理解'nginx'试图做什么,如果我正在运行apache,我认为我没有安装任何要在nginx上运行的东西。
ERROR: [pool www] cannot get uid for user 'nginx': Success (0)
In php-fpm.conf, uncommented I have this 在php-fpm.conf中,没有注释,我有这个
pid = /var/run/php-fpm/php-fpm-7.1.pid
In my php-fpm.conf I do not see 在我的php-fpm.conf中,我看不到
user = apache
group = apache
But I do see them in /etc/php-fpm.d/www.conf 但是我确实在/etc/php-fpm.d/www.conf中看到了它们
Can somebody please help me sort this out. 有人可以帮我解决这个问题吗?
Thank You 谢谢
Resolved found in the /etc/php-fpm.d/www.conf, I found this line. 解决在/etc/php-fpm.d/www.conf中找到的这一行。
listen.acl_users = apache,nginx
Solution - change to 解决方案-更改为
listen.acl_users = apache
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.