Typing above service does NOT start apache as so many like wish it to be. Therefore there are many inddiciduals – like me – who still keep typing “sudo apachectl start” in order to get apache running.
The reason why brew’s httpd service does not start apache is, because brew’s httpd – to be found in /usr/local/opt/httpd/bin/ httpd – needs sudo privileges. This can be verified by running this command:
sudo brew services start apache2
Some warnings in the terminal output teach us a bit more.
However, I wonder, what the reason for using sudo is? And if there are plans to make it work with simple login privileges so that httpd can act like any other service? Or if I have to “fix” my mindset to get things running properly?
Any hint to a resource, where this httpd speciffic behavior is described, would be most welcome – my search was not particularly successful so far.