Skip to content

Instantly share code, notes, and snippets.

@tiagodavi
Created May 1, 2012 23:06
Show Gist options
  • Save tiagodavi/2572206 to your computer and use it in GitHub Desktop.
Save tiagodavi/2572206 to your computer and use it in GitHub Desktop.
start-nginx.bat
@ECHO OFF
c:\nginx\nginx.exe
c:\nginx\php5.4\php-cgi.exe -b 127.0.0.1:9000 -c c:\nginx\php5.4\php.ini
ping 127.0.0.1 -n 1>NUL
echo Starting nginx
echo .
echo .
echo .
ping 127.0.0.1 >NUL
EXIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment