升级5.6.29后在nginx的日志中出现以下错误:
2017/01/20 10:54:14 [crit] 12936#0: *45 connect() to unix:/tmp/php-cgi.sock failed (13: Permission denied) while connecting to upstream, client:
解决方法在配置文件php-fpm.conf中添加:
listen.owner = www
listen.group = www
升级5.6.29后在nginx的日志中出现以下错误:
2017/01/20 10:54:14 [crit] 12936#0: *45 connect() to unix:/tmp/php-cgi.sock failed (13: Permission denied) while connecting to upstream, client:
解决方法在配置文件php-fpm.conf中添加:
listen.owner = www
listen.group = www