Home  >  Article  >  Operation and Maintenance  >  Nginx configuration process example analysis

Nginx configuration process example analysis

WBOY
WBOYforward
2023-05-16 12:28:121046browse

1. Download nginx

2. Unzip

Nginx configuration process example analysis

##3. Configuration

Download runhiddenconsole.exe software

4. 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!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete