@echo off 
echo Starting PHP70 FastCGI On 9001... 
cd C:/phpStudy/php/php-7.0.12-nts/
php-cgi.exe -b 127.0.0.1:9001 -c php.ini
@echo off 
if "%1" == "h" goto begin 
	mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit 
:begin 
::后台运行,下面是你自己的代码。
echo Starting PHP70 FastCGI On 9001... 
cd C:\Software\php-7.4.12-nts-Win32-vc15-x64\
php-cgi.exe -b 127.0.0.1:9001 -c php.ini

发表评论

电子邮件地址不会被公开。 必填项已用*标注