Nginx FastCGI PHP

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, FastCGI server need to be runned.

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.

posted on 2014-12-04 15:47  技术员  阅读(167)  评论(0编辑  收藏  举报

导航