Wnmp en Windows establece el script de inicio de nginx

1. Inicie el 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. Detenga el 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

como muestra la imagen:
Inserte la descripción de la imagen aquí

Fuente: Este es un blog de Shuiyi, la calidad es media, pero es útil y se puede utilizar como herramienta de blog. (No quiero perforarte)

Supongo que te gusta

Origin blog.csdn.net/kevlin_V/article/details/108304055
Recomendado
Clasificación