httpd:start_apache_as_service_on_ms_windows

Start Apache as Service on MS Windows

  1. Open a terminal in Windows (cmd.com)
  2. cd to the Apache httpd bin directory
  3. Type the following command. Apache Httpd 2.4 can be anything you like. It is the name of the service.
    httpd.exe -k install -n "Apache Httpd 2.4" 
  1. Open a terminal in Windows (cmd.com)
  2. cd to the Apache httpd bin directory
  3. Type the following command. -n “Apache Httpd 2.4” is optional if you only have one Apache service on your Windows.
    httpd.exe -k uninstall -n "Apache Httpd 2.4"
  • httpd/start_apache_as_service_on_ms_windows.txt
  • Last modified: 2019/12/20 09:03
  • by chongtin