码迷,mamicode.com
首页 > Web开发 > 详细

Nginx FastCGI PHP

时间:2014-12-04 17:19:37      阅读:215      评论:0      收藏:0      [点我收藏+]

标签:style   blog   ar   color   sp   for   on   div   art   

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

标签:style   blog   ar   color   sp   for   on   div   art   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!