Windows PHP + Nginx Curl accesses the local timeout, which occurs because of the nginx+php environment under windows and does not support the cause of concurrency. Concurrency is not supported when you access multiple domain names at the same time and point to your local service.
Workaround:
1.nginx.conf Change the port number of the Fastcgi_pass to a different server
Example: Fastcgi_pass 127.0.0.1:9000;
Fastcgi_pass 127.0.0.1:9001;
2. Start multiple php-cgi
Open cmd command line run: Your path/php-cgi.exe-b 127.0.0.1:9000-c your path/php.ini (cannot close the window)
Open a new command-line window: Your path/php-cgi.exe-b 127.0.0.1:9000-c your path/php.ini (cannot close the window)
The above with the CMD Command Line window is not very troublesome, not to close the window, a little less attention on the tragedy
You can use one of the following gadgets: Runhiddenconsole
First you need to download a small file runhiddenconsole then copy to the Nginx directory, create a new two bat batch file, Start_nginx.bat and Stop_nginx.bat
Note: RunHiddenConsole.exe must be with two batch files in the same level directory, otherwise nginx can not start.