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.51

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
libnghttp2 1.45.1 HTTP/2 C Library
openssl@1.1 1.1.1l 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 36,954
Installs on Request (30 days)
httpd 27,293
Build Errors (30 days)
httpd 45
Installs (90 days)
httpd 70,904
Installs on Request (90 days)
httpd 51,508
Installs (365 days)
httpd 251,044
Installs on Request (365 days)
httpd 190,170
Fork me on GitHub