How to stop apache on MacOS: Difference between revisions

From razwiki
Jump to navigation Jump to search
(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....")
 
(No difference)

Latest revision as of 17:12, 21 December 2021

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