macOS
brew install httpdlocal Homebrew formula metadata
安装
brew install httpdlocal Homebrew formula metadata
sudo dnf install httpdFedora Rawhide package metadata · httpd · 来源: dl.fedoraproject.org
sudo zypper install apache2openSUSE Tumbleweed package metadata · apache2 · 来源: download.opensuse.org
scoop install main/abScoop official bucket manifest trees · bucket/ab.json · 来源: api.github.com
概览
Apache HTTP server
历史
Apache HTTP Server is one of the defining infrastructure packages of the Web: a general-purpose HTTP server descended from NCSA httpd, maintained by the Apache HTTP Server Project, and distributed with a large suite of command-line administration and support tools.
The project began in February 1995 after development of Rob McCool's NCSA httpd had stalled. A small group of webmasters coordinated their accumulated bug fixes and enhancements, using NCSA httpd 1.3 as the base for the first public Apache server release, 0.6.2, in April 1995.
The early server was quickly reworked around Robert Thau's Shambhala architecture, which introduced a modular structure, an API for extensibility, pool-based memory allocation, and an adaptive preforking process model. Apache 1.0 followed on December 1, 1995, and in 1999 the Apache Software Foundation was formed to give the project organizational, legal, and financial support.
Apache passed NCSA httpd as the top server in the Netcraft Web Server Survey in 1996, less than a year after the Apache Group formed. Its adoption story is closely tied to Unix and Linux packaging: the `httpd` package became both the server daemon and a bundle of operational tools used by administrators, module developers, and local web developers.
As a package, `httpd` is not only the web server binary. It also ships familiar tools such as `apachectl`, `apxs`, `htpasswd`, `htdigest`, `rotatelogs`, and `ab`, making the package useful for running a local server, testing configuration, building modules, managing password files, rotating logs, and benchmarking request throughput.
Package maintainers care about Apache HTTP Server because it sits at the intersection of daemon management, module ABI compatibility, TLS libraries, configuration layout, and service integration. It is also historically important as a package that helped make source-built and distribution-packaged open-source infrastructure normal for production web hosting.
安全态势
broad file, network, media, or database tool signal. formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ab | cli | 全局可执行文件 | |
apachectl | cli | 全局可执行文件 | |
apxs | cli | 全局可执行文件 | |
checkgid | cli | 全局可执行文件 | |
dbmmanage | cli | 全局可执行文件 | |
fcgistarter | cli | 全局可执行文件 | |
htcacheclean | cli | 全局可执行文件 | |
htdbm | cli | 全局可执行文件 | |
htdigest | cli | 全局可执行文件 | |
htpasswd | cli | 全局可执行文件 | |
httpd | cli | 全局可执行文件 | |
httxt2dbm | cli | 全局可执行文件 | |
logresolve | cli | 全局可执行文件 | |
rotatelogs | cli | 全局可执行文件 | |
suexec | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:httpd |
|---|---|
| 版本 | 2.4.68 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/httpd |
| 主页 | https://httpd.apache.org/ |
| 仓库 | https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x |
| 上游文档 | https://httpd.apache.org/docs |
| 许可证 | Apache-2.0 |
| 源码归档 | https://www.apache.org/dyn/closer.lua?path=httpd/httpd-2.4.68.tar.bz2 |
| 最后更新 | 2026-06-22T14:03:44-07:00 |
| Pulse | updated |
| 依赖 | apr, apr-util, brotli, libnghttp2, openssl@3, pcre2 |
| macOS 提供的库 | libxcrypt, libxml2 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
| 注意事项 | 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. |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | httpd |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
httpd 2.4.68-1.fc45
Apache HTTP Server
sudo dnf install httpdhttpd-core 2.4.68-1.fc45
httpd minimal core
sudo dnf install httpd-corehttpd-devel 2.4.68-1.fc45
Development interfaces for the Apache HTTP Server
sudo dnf install httpd-develhttpd-filesystem 2.4.68-1.fc45
The basic directory layout for the Apache HTTP Server
sudo dnf install httpd-filesystemhttpd-manual 2.4.68-1.fc45
Documentation for the Apache HTTP Server
sudo dnf install httpd-manualhttpd-tools 2.4.68-1.fc45
Tools for use with the Apache HTTP Server
sudo dnf install httpd-toolsmod_ldap 2.4.68-1.fc45
LDAP authentication modules for the Apache HTTP Server
sudo dnf install mod_ldapmod_lua 2.4.68-1.fc45
Lua scripting support for the Apache HTTP Server
sudo dnf install mod_luamod_proxy_html 2.4.68-1.fc45
HTML and XML content filters for the Apache HTTP Server
sudo dnf install mod_proxy_htmlmod_session 2.4.68-1.fc45
Session interface for the Apache HTTP Server
sudo dnf install mod_sessionmod_ssl 2.4.68-1.fc45
SSL/TLS module for the Apache HTTP Server
sudo dnf install mod_sslapache2 2.4.67-1.1
The Apache HTTPD Server
sudo zypper install apache2darkhttpd 1.17-1.3
When you need a web server in a hurry
https://unix4lyfe.org/darkhttpd
sudo zypper install darkhttpdlighttpd 1.4.82-1.4
A Secure, Fast, Compliant, and Very Flexible Web Server
sudo zypper install lighttpdnginx 1.31.1-2.1
A HTTP server and IMAP/POP3 proxy server
https://github.com/nginx/nginx
sudo zypper install nginxmain/ab
scoop install main/ab来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.