Docs/windows相关/脚本/php-restart.bat
2022-10-18 16:59:37 +08:00

23 lines
509 B
Batchfile
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<<<<<<< HEAD
@echo off
# 查看9000端口占用的程序及pidNUL类似/dev/null
netstat -ano | findstr "9000" > NUL
# 判断错误级别
if ErrorLevel 1 (
D:\php\php-cgi.exe -b 127.0.0.1:9000 -c D:\php\php.ini
) else (
echo "php-9000 running"
)
pause
=======
@echo off
# 查看9000端口占用的程序及pidNUL类似/dev/null
netstat -ano | findstr "9000" > NUL
# 判断错误级别
if ErrorLevel 1 (
D:\php\php-cgi.exe -b 127.0.0.1:9000 -c D:\php\php.ini
) else (
echo "php-9000 running"
)
pause
>>>>>>> 28bec05... 20200611