1. Download nginx
2. Unzip
##3. Configuration
Download runhiddenconsole.exe software4. Open:
@echo off @echo starting nginx ... runhiddenconsole nginx.exe @echo starting php-cgi ... runhiddenconsole d:/php-5.6.13-win32-vc11-x64/php-cgi.exe -b 127.0.0.1:9000 -c d:/php-5.6.13-win32-vc11-x64/php.ini exit pause
5. Close:
@echo off @echo stopping php fastcgi... taskkill /f /im php-cgi.exe > nul @echo stopping nginx... taskkill /f /im nginx.exe > nul @echo success
The above is the detailed content of Nginx configuration process example analysis. For more information, please follow other related articles on the PHP Chinese website!