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 "sc create ..." but I am missing a script on the end like -k start? Not sure what I need for the end of it...
I am running Apache 2.2
Thank you
Earlier versions of Apache only support the default service name 'Apache'. The default "service name", if one is not specified, is "Apache".
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With