nginx连接fastcgi有两种模式:1. 用ip进行连接,例如
fastcgi_pass 127.0.0.1:9000;
2. 用socket进行连接,例如
fastcgi_pass unix:/tmp/php-cgi.sock;