Install command:
brew install httpd

Also known as: apache-httpd, apache2

Formerly known as: httpd24

Apache HTTP server

License: Apache-2.0

/api/formula/httpd.json (JSON API)

/api/bottle/httpd.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
64-bit linux
Apple Silicon big sur

Current versions:

stable 2.4.48

Depends on:

apr 1.7.0 Apache Portable Runtime library
apr-util 1.6.1 Companion library to apr, the Apache Portable Runtime library
brotli 1.0.9 Generic-purpose lossless compression algorithm by Google
nghttp2 1.44.0 HTTP/2 C Library
openssl@1.1 1.1.1k Cryptography and SSL/TLS Toolkit
pcre 8.45 Perl compatible regular expressions library
DocumentRoot is $(brew --prefix)/var/www.

The default ports have been set in $(brew --prefix)/etc/httpd/httpd.conf to 8080 and in
$(brew --prefix)/etc/httpd/extra/httpd-ssl.conf to 8443 so that httpd can run without sudo.


Installs (30 days)
httpd 18,412
Installs on Request (30 days)
httpd 13,664
Build Errors (30 days)
httpd 25
Installs (90 days)
httpd 63,467
Installs on Request (90 days)
httpd 47,265
Installs (365 days)
httpd 230,416
Installs on Request (365 days)
httpd 175,993
Fork me on GitHub