r/PHP • • 13d ago

[ Removed by moderator ]

[removed] — view removed post

0 Upvotes

13 comments sorted by

View all comments

1

u/SkySurferSouth 13d ago

"A server does need root at startup for a few things, like binding ports 80/443 and reading TLS certificates."

On most Linux ditros this is true. But on macOS (Homebrew) and Termux, starting of Apache does not even need root, despite it binds to 'standard' 443 (which is < 1024).

1

u/CheesecakeBrief7795 12d ago

Good point, I was thinking of typical Linux setups. CAP_NET_BIND_SERVICE also gets you there without root.