Hi, sorry for the n00b question, but, i cant find much info about nginx on windows...
Here is my problem, i have a VPS working with windows server 2003 sp2, and, for some reason, after a while i started the nginx+ php on cgi mode, close the php and all my site stop working (bcoz its all on php)...
So.. i wanna know if there is some way to start both services as a windows service, then, i hope, windows will not close php
Or.. if this isn't possible, some batch file to autostart the service when its down.
Here is the code of how i start nginx+php-cgi
@ECHO OFF
start nginx
c:\nginx\php\php-cgi.exe -b 127.0.0.1:9000 -c c:\nginx\php\php.ini
Thx in advance for the help.