F
F
fiter2020-02-23 17:59:06
Apache HTTP Server
fiter, 2020-02-23 17:59:06

How to autostart apachectl on macOS?

MacOS Catalina
installed Apache 2.4.41_1 installed:

brew install httpd
sudo brew services start httpd

After rebooting the system, http://localhost does not open, although Apache is running:
brew services list
Name    Status  User  Plist
httpd   started root  /Library/LaunchDaemons/homebrew.mxcl.httpd.plist

localhost opens only after executing the sudo apachectl start
commandsudo apachectl start

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
elbrus56, 2020-02-25
@elbrus56

Use launchctl

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question