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
Did not work for me using httpd.exe -k install, I had to register apache as a service using sc.exe using:
sc.exe create apache2.4 start= auto obj= "" password= "" DisplayName= "Apache 2.4" depend= "Tcpip/Afd" binpath= "\"c:\wamp\bin\apache\apache2.4.33\bin\httpd.exe\" -k runservice"