2012年1月8日

摘要: location ~ .*\.(php|php5)?$ { #fastcgi_pass unix:/tmp/php-cgi.sock; fastcgi_pass 127.0.0.1:9000; /*fastcgi监听端口*/ fastcgi_index index.php; include fcgi.conf; /*fastcgi配置文件,修改为以下内容*/ }vim /usr/local/nginx/conf/fcgi.conffastcgi_param GATEWAY_INTERFACE CGI/1.1;fastcgi_param SERVER_SOFTWARE nginx;fastcgi 阅读全文
posted @ 2012-01-08 00:31 房客 阅读(431) 评论(1) 推荐(0) 编辑

导航