怎样优化FastCGI与Nginx的搭配

1、查看当前的PHP FastCGI进程数是否够用:netstat -anpo | grep “php-cgi” | wc -l如果实际使用的“FastCGI进程数”接近预设的“FastCGI进程数”,那么,说明“FastCGI进程数”不够用,需要增大。