httpd

Install command:
brew install httpd

Also known as: apache-httpd, apache2

Formerly known as: httpd24

Apache HTTP server

https://httpd.apache.org/

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
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 2.4.68

Depends on:

apr 1.7.6 Apache Portable Runtime library
apr-util 1.6.5 Companion library to apr, the Apache Portable Runtime library
brotli 1.2.0 Generic-purpose lossless compression algorithm by Google
libnghttp2 1.70.0 HTTP/2 C Library
openssl@3 3.6.4 Cryptography and SSL/TLS Toolkit
pcre2 10.48 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.

Analytics:

30 days90 days365 days
Installs3,13910,40957,581
Installs (--HEAD)2955
Installs on Request1,1265,39136,424
Installs on Request (--HEAD)2955
Build Errors17