Command Prompt Apache Control

Controlling Apache in Command Prompt

This article introduces how to control Apache using Windows command line cmd.exe, the command prompt. httpd -k start…

Shou Arisaka
1 min read
Oct 9, 2025

This article introduces how to control Apache using Windows command line cmd.exe, the command prompt.

cd C:\Apache24\bin
httpd -k start

httpd -k stop
httpd -k status

* via powershell
cd C:\Apache24\bin
.\httpd.exe -k start

As shown above, you can start, stop, and check the status of Apache from the command prompt.

Share this article

Shou Arisaka Oct 9, 2025

🔗 Copy Links