CocoaEngineering
FORMULAv2.4.71

httpd for macOS

Apache HTTP server

Installation on macOS (Apple Silicon & Intel)

brew install httpd

Package Metadata

Identifierhttpd
Current Version2.4.71
Tap Repositoryhomebrew/core
LicenseApache-2.0
Upstream Homepagehttps://httpd.apache.org/
Last Verified2026-11-26T14:43:31Z

Runtime Dependencies (6)

apr apr-util brotli libnghttp2 openssl@4 pcre2

Engineering Caveats

DocumentRoot is $HOMEBREW_PREFIX/var/www.

The default ports have been set in $HOMEBREW_PREFIX/etc/httpd/httpd.conf to 8080 and in
$HOMEBREW_PREFIX/etc/httpd/extra/httpd-ssl.conf to 8443 so that httpd can run without sudo.
Browse macOS Packages A–Z