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

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.61.0 HTTP/2 C Library
openssl@3 3.3.0 Cryptography and SSL/TLS Toolkit
pcre2 10.43 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 8,946
httpd --HEAD 18
Installs on Request (30 days)
httpd 7,715
httpd --HEAD 18
Build Errors (30 days)
httpd 78
Installs (90 days)
httpd 28,136
httpd --HEAD 50
Installs on Request (90 days)
httpd 23,653
httpd --HEAD 50
Installs (365 days)
httpd 119,810
httpd --HEAD 181
Installs on Request (365 days)
httpd 100,125
httpd --HEAD 181
Fork me on GitHub