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.1 | 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 | 34,878 |
|---|---|
| Downloads | 3,280,768 |
| Analytics install events (30 days) | 8,702 |
| Downloads / install events (30 days) | 4.0× |
Source: GitHub Packages, fetched 2026-12-02T01:00:47Z. Analytics dates: 2026-11-02 to 2026-12-02. 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 | 8,695 | 22,883 | 62,943 |
Installs (--HEAD) | 7 | 18 | 51 |
| Installs on Request | 4,163 | 10,532 | 36,021 |
Installs on Request (--HEAD) | 7 | 18 | 51 |
| Build Errors | 170 |