FORMULAv2.4.71
httpd for macOS
Apache HTTP server
Installation on macOS (Apple Silicon & Intel)
brew install httpd
Package Metadata
| Identifier | httpd |
|---|---|
| Current Version | 2.4.71 |
| Tap Repository | homebrew/core |
| License | Apache-2.0 |
| Upstream Homepage | https://httpd.apache.org/ |
| Last Verified | 2026-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.
Related macOS Packages
http-server-rsSimple and configurable command-line HTTP serverhttperfTool for measuring webserver performancehttp-serverSimple zero-configuration command-line HTTP serverhttpflowPacket capture and analysis utility similar to tcpdump for HTTPhttp-promptInteractive command-line HTTP client with autocomplete and syntax highlightinghttpieUser-friendly cURL replacement (command-line HTTP client)httmInteractive, file-level Time Machine-like tool for ZFS/btrfshttpingPing-like tool for HTTP requests