httpd
brew install httpdAlso known as: apache-httpd, apache2
Apache HTTP server
License: Apache-2.0
Development: Pull requests
Formula JSON API: /api/formula/httpd.json
Formula code: httpd.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 2.4.71 |
Depends on:
| apr | 1.7.6 | Apache Portable Runtime library |
| apr-util | 1.6.6 | Companion library to apr, the Apache Portable Runtime library |
| brotli | 1.2.1 | Generic-purpose lossless compression algorithm by Google |
| libnghttp2 | 1.71.0 | HTTP/2 C Library |
| openssl@4 | 4.1.0 | Cryptography and SSL/TLS Toolkit |
| pcre2 | 10.49 | Perl compatible regular expressions library with a new API |
Uses from macOS: libxcrypt, libxml2
Binaries:
ab,
apachectl,
apxs,
checkgid,
dbmmanage,
fcgistarter,
htcacheclean,
htdbm,
htdigest,
htpasswd,
httpd,
httxt2dbm,
logresolve,
rotatelogs,
suexec
Service:
| Start now and at login: | brew services start httpd |
| Run directly: | $HOMEBREW_PREFIX/opt/httpd/bin/httpd -D FOREGROUND |
| 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. |
GitHub Packages downloads:
| Last 30 days | 30,921 |
|---|---|
| Downloads | 3,258,210 |
| Analytics install events (30 days) | 9,865 |
| Downloads / install events (30 days) | 3.1× |
Source: GitHub Packages, fetched 2026-11-12T00:52:27Z. Analytics dates: 2026-10-13 to 2026-11-12. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 9,858 | 20,175 | 62,225 |
Installs (--HEAD) | 7 | 17 | 60 |
| Installs on Request | 4,455 | 9,109 | 36,598 |
Installs on Request (--HEAD) | 7 | 17 | 60 |
| Build Errors | 309 |