首页 > Web开发 > 详细

Nginx FastCGI PHP

时间:2014-12-04 17:18:42      阅读:185      评论:0      收藏:0      [点我收藏+]

We can see this comment in nginx.conf.

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000


Means: When the nginx handle PHP, the server need to run FastCGI server.

so Before starting the nginx,we should run FastCGI first.

/PHPROOT/php-cgi.exe -b 127.0.0.1:9000

 

There is no magic. You have to run the server what the nginx need.

Nginx FastCGI PHP

原文:http://www.cnblogs.com/mztest/p/4143049.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!