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.