Nginx FastCGI PHP
时间:2014-12-04 17:19:37
收藏:0
阅读:215
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.
评论(0)