Skip to content

Instantly share code, notes, and snippets.

@lintmx
Created May 10, 2018 09:40
Show Gist options
  • Save lintmx/31cf7461be8dbfceb41bd65837bd2ee1 to your computer and use it in GitHub Desktop.
Save lintmx/31cf7461be8dbfceb41bd65837bd2ee1 to your computer and use it in GitHub Desktop.
Start Web Service
@echo off
@taskkill /f /IM nginx.exe >nul 2>&1
@taskkill /f /IM php-cgi.exe >nul 2>&1
start /d "D:\Dev\nginx" nginx.exe
D:\Dev\RunHiddenConsole.exe D:\php\php72\php-cgi.exe -b 127.0.0.1:9072 -c D:\php\php72\php.ini
D:\Dev\RunHiddenConsole.exe D:\php\php56\php-cgi.exe -b 127.0.0.1:9056 -c D:\php\php56\php.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment