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 ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 2.4.69

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.5 Cryptography and SSL/TLS Toolkit
pcre2 10.49 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,20710,06856,546
Installs (--HEAD)2852
Installs on Request1,1654,63135,076
Installs on Request (--HEAD)2852
Build Errors21