php-fpm sock

ngninx
user _www _www;
fastcgi_pass unix:/tmp/php-fmp.sock;

php-fpm.conf

listen=/tmp/php-fmp.sock

下面几行没有 502错
listen.owner=_www
listen.group=_www
listen.mode=0660

原文地址:https://www.cnblogs.com/anjuncc/p/5789786.html