PHP的FPM授予权限被拒绝?
我读了几篇关于为什么PHP-FPM可能会拒绝我的权限的问题,但是我无法解决这个问题。 错误日志如下所示: 2013/04/20 23:33:28 [crit] 15479#0: *6 open() "/var/lib/nginx/tmp/fastcgi /2/00/0000000002" failed (13: Permission denied) while reading upstream, client: 99.999.999.999, server: example.net, request: "GET /wp-admin/ HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-fpm.sock:", host: "example.net", referrer: "http://example.net/" 我有点失落: 我已经设置了/ var / lib / nginx / tmp到ec2-user(我甚至要检查一切+777) 我已经将/tmp/php-fpm.sock设置为ec2用户 nginx conf文件被设置为ec2-user php-conf被设置为用户和组ec2用户 ps aux给所有php-fpm和nginx进程提供ec2用户 我的Nginxconfiguration包含很多文件,基本的configuration是: user ec2-user ec2-user; worker_processes 5; error_log /opt/nginx/error.log; pid […]