How to Manually create an Apache Windows Service

前端 未结 6 1220
鱼传尺愫
鱼传尺愫 2021-01-30 13:04

I accidentally removed my Apache windows service trying to install another Apache web server. Does anyone know how I can create another Apache windows service from cmd? I tried

6条回答
  •  感情败类
    2021-01-30 13:48

    On Apache 2.4 the executable have changed name to httpd.exe, the command would be:

    httpd.exe -k install -n "Apache2.4"
    

    With a name switch in order to give the service a distinct name.

提交回复
热议问题