502 - 生活之路

优化php-fpm解决Nginx 502 Bad Gateway

netstat -anpo | grep php-cgi | wc -l用上面命令查看FastCGI进程数是否够用,如果此数值接近预设值,那么,说明FastCGI进程数设置的过小。