🍺 BREW Explorer

← all formulae

httpd

brew install httpd v2.4.68 Apache-2.0

Apache HTTP Server 2.4: production-grade web server with module-based architecture written in C.

Why you might care

httpd is a battle-tested, widely-deployed web server essential for hosting dynamic and static content at scale. Use it when you need full control over server configuration, HTTPS/HTTP/2 support, and extensive module ecosystem (mod_php, mod_ssl, mod_rewrite, etc.). Alternatives like nginx are lighter and faster for simple reverse-proxy tasks, but httpd offers deeper extensibility and better Apache Module compatibility if your stack requires it.

Categories

Alternatives

nginx caddy apache2
5.1k
30-day installs · #595
13.5k
90-day · #690
66.5k
365-day · #558

Runtime dependencies

Links

Caveats

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.

Blurb generated by claude-haiku-4-5 on 2mo ago.

Raw metadata
{
  "aliases": [
    "apache-httpd",
    "apache2"
  ],
  "alternatives": [
    "nginx",
    "caddy",
    "apache2"
  ],
  "build_dependencies": [],
  "categories": [
    "web-server",
    "server"
  ],
  "caveats": "DocumentRoot is $HOMEBREW_PREFIX/var/www.\n\nThe default ports have been set in $HOMEBREW_PREFIX/etc/httpd/httpd.conf to 8080 and in\n$HOMEBREW_PREFIX/etc/httpd/extra/httpd-ssl.conf to 8443 so that httpd can run without sudo.\n",
  "conflicts_with": [],
  "dependencies": [
    "apr",
    "apr-util",
    "brotli",
    "libnghttp2",
    "openssl@3",
    "pcre2"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Apache HTTP server",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:42+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "httpd",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://httpd.apache.org/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "Welcome! - The Apache HTTP Server Project",
  "installs_30d": 5054,
  "installs_365d": 66524,
  "installs_90d": 13485,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0",
  "llm_generated_at": "2026-06-20T23:45:50+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "httpd",
  "oldnames": [
    "httpd24"
  ],
  "one_liner": "Apache HTTP Server 2.4: production-grade web server with module-based architecture written in C.",
  "optional_dependencies": [],
  "rank_30d": 595,
  "rank_365d": 558,
  "rank_90d": 690,
  "raw_hash": "c046e5b6abeb3058",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/h/httpd.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    "libxcrypt",
    "libxml2"
  ],
  "version_head": null,
  "version_stable": "2.4.68",
  "versioned_formulae": [],
  "why_use_this": "httpd is a battle-tested, widely-deployed web server essential for hosting dynamic and static content at scale. Use it when you need full control over server configuration, HTTPS/HTTP/2 support, and extensive module ecosystem (mod_php, mod_ssl, mod_rewrite, etc.). Alternatives like nginx are lighter and faster for simple reverse-proxy tasks, but httpd offers deeper extensibility and better Apache Module compatibility if your stack requires it."
}