Install command:
brew install httpd

Also known as: apache-httpd, apache2

Formerly known as: httpd24

Apache HTTP server

License: Apache-2.0

Formula JSON API: /api/formula/httpd.json

Formula code: httpd.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sonoma
Intel sonoma
64-bit linux

Current versions:

stable 2.4.58

Depends on:

apr 1.7.4 Apache Portable Runtime library
apr-util 1.6.3 Companion library to apr, the Apache Portable Runtime library
brotli 1.1.0 Generic-purpose lossless compression algorithm by Google
libnghttp2 1.58.0 HTTP/2 C Library
openssl@3 3.2.0 Cryptography and SSL/TLS Toolkit
pcre2 10.42 Perl compatible regular expressions library with a new API
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.


Installs (30 days)
httpd 9,405
Installs on Request (30 days)
httpd 7,849
Build Errors (30 days)
httpd 59
Installs (90 days)
httpd 32,599
Installs on Request (90 days)
httpd 26,347
Installs (365 days)
httpd 99,312
Installs on Request (365 days)
httpd 83,029
Fork me on GitHub