Wnmp in windows sets the nginx startup script

1. Start the script start-php-nginx.bat

@ECHO OFF
ECHO Starting PHP FastCGI...
F:\web\Nginx\RunHiddenConsole.exe php-cgi.exe -b 127.0.0.1:9000
ECHO Starting Nginx ...
F:\web\Nginx\RunHiddenConsole.exe nginx.exe

2. Stop the script stop-php-nginx.bat

@echo off
echo Stopping nginx... 
taskkill /F /IM nginx.exe > nul
echo Stopping PHP FastCGI...
taskkill /F /IM php-cgi.exe > nul
exit

as the picture shows:
Insert picture description here

Source: This is a blog of Shuiyi. The quality is average, but it is useful and can be used as a tool blog. (I don't want to pierce you)

Guess you like

Origin blog.csdn.net/kevlin_V/article/details/108304055