Right click the Start button > Run > Type taskkill /f /im "nginx.exe" > Press Enter
Double click nginx.exe to restart the process with PHP support
Running nginx Server on Startup
nginx doesn't currently have the ability to run as a Windows service natively. A simple workaround is to create a scheduled task to start the nginx server on system startup
Open notepad and paste the following into a blank text file
start "" /b "C:\Program Files\PHP\php-cgi.exe" -b 127.0.0.1:9123
start "" /b "C:\Program Files\nginx\nginx.exe" -c "C:\Program Files\nginx\conf\nginx.conf"
Save the text file as startup.bat in the nginx installation directory