windows 에서 Apache 여러개 기동

 

conf 파일을 복사 후 기동

 

D:\dev\Apache24test\servers\OOO>start /d "D:\dev\Apache24test\bin\" /b httpd.exe -f "D:\dev\Apache24t
est\servers\OOO\conf\httpd.conf" -n Apache2.4 -k start

 

D:\dev\Apache24test\servers\OOO>[Tue Oct 04 14:53:10.620622 2016] [mpm_winnt:error] [pid 8200:tid 180
] (OS 2)지정된 파일을 찾을 수 없습니다.  : AH00436: No installed service named "Apache2.4".

 

오류 발생하여 (install 함)

 

D:\dev\Apache24test\bin>httpd -k install
Installing the 'Apache2.4' service
The 'Apache2.4' service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started. 

 

(bat 파일로 start, stop)

start /d "D:\dev\Apache24test\bin\" /b httpd.exe -f "D:\dev\Apache24test\servers\OOO\conf\httpd.conf" -k start

 

start /d "D:\dev\Apache24test\bin\" /b httpd.exe -f "D:\dev\Apache24test\servers\OOO\conf\httpd.conf" -k stop

 

 

 

+ Recent posts