How to start the Apache server

If it is installed with Homebrew, then the following should work:

apachectl start

If that fails, use:

sudo apachectl start

Similarly,

apachectl restart & apachectl stop

will restart and stop Apache.

Leave a Reply