@
echo off
:begin
echo Starting mariadb...
start /min "" D:/mariadb-10.3.5-winx64/bin/mysqld.exe --console
echo Starting PHP FastCGI...
start /min "" D:/php-7.2.0-nts/php-cgi.exe -b 127.0.0.1:9000 -c D:/php-7.2.0-nts/php.ini
echo Starting nginx...
start /min "" D:/nginx-1.13.8/nginx.exe -p D:/nginx-1.13.8
pause
echo Stopping mariadb...
taskkill /F /IM mysqld.exe > nul
echo Stopping nginx...
taskkill /F /IM nginx.exe > nul
echo Stopping PHP FastCGI...
taskkill /F /IM php-cgi.exe > nul
goto begin
我是 win10 + php7.2 + mariadb + nginx1.13
手动启动嫌繁琐,写了个 BAT 的脚本一键运行和重启