Windows2003 problems starting with the nginx+php service I can only start with such batches now, but a logoff user will stop working. Start_nginx.bat [Co
Windows2003 using the nginx+php service to start a problem
I can only start with such a batch now, but the user will stop working when they log off.
Start_nginx.bat
VBScript Code
@echo Offrem "Starting the Nginx server ..." Start E:\nginx\nginx.exeREM "starts PHP FastCGI ..." Starting E:\nginx\ ... "" Start RunHiddenConsole.exe E:\php\php-cgi.exe-b 127.0.0.1:9000-c E:\php\php.ini
and seek expert guidance, above how to set can specify the system user identity start Nginx.exe program.
---------------------
Find the method that is added to the service startup on the Web, although the service is added and can be started, but not valid.
JScript Code
1. Download the Microsoft Services Registration tool Srvany.exe, Instsrv.exe, stored in the e:\nginx\ directory http://eastedu.bl-changjiang.com/UploadFiles/2006-5/ 511179043.rar2. Install the Nginx service, switch the command line to E:\nginx\, and execute the following command instsrv Nginx e:\nginx\srvany.exe3. Under E:\nginx\, Edit a Nginx.reg file Windows Registry Editor Version 5.00[hkey_local_machine\system\currentcontrolset\services\nginx\ Parameters] "Application" = "E:\\nginx\\nginx.exe" "appparameters" = "" "Appdirectory" = "e:\\nginx\\" 5. Connect services to Programs, Command line execution regedit/s Nginx.reg
Is there any way to add Nginx.exe for service startup.
------Solution--------------------
Is it so boring that nginx must be better than IIS?
Besides, Microsoft has always rejected third-party software.
------Solution--------------------
In the Windows system, the file has a user group, change the properties of Nginx try
------Solution--------------------
discuss
Windows2003 using the nginx+php service to start a problem
I can only start with such a batch now, but the user will stop working when they log off.
Start_nginx.bat
VBScript Code
@echo off
REM "Starting Nginx server ..."
Start E:\nginx\nginx.exe
REM "Start php FastCGI ...".
St......