Igor Simic
4 years ago

Stop or start apache process on Mac


How to stop (or start) apache process by using terminal on Mac book? Here is a list of couple commands that you can use:

stop apache
sudo apachectl stop

// OR

sudo apachectl -k stop


To start the apache process you can use this:
sudo apachectl start

// OR

sudo apachectl -k start

If you want ti start all http processes (usually running on port 80), run this command

sudo killall httpd