How to stop apache on MacOS

From razwiki
Revision as of 17:12, 21 December 2021 by Razzi (talk | contribs) (Created page with "If apache is installed with brew (runs on port 8080) you can use brew services: brew services stop apache However if it's using the /Library/WebServer/Documents/index.html....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

If apache is installed with brew (runs on port 8080) you can use brew services:

brew services stop apache

However if it's using the /Library/WebServer/Documents/index.html.en file, use:

sudo apachectl stop