在macOS上通过源码安装apache httpd
安装环境
系统版本
macOS Big Sur(11.2.2)
硬件信息
Processor Name: Dual-Core Intel Core i5
Processor Speed: 2.3 GHz
Number of Processors: 1
Total Number of Cores: 2
Memory: 8 GB
安装版本: 2.4.46
apache httpd版本
2.4.46
安装步骤
下载源码包
登录:https://httpd.apache.org/download.cgi#apache24
找到下载链接并下载:
https://mirrors.bfsu.edu.cn/apache//httpd/httpd-2.4.46.tar.gz
解压到文件夹httpd-2.4.46
下载依赖包APR、APR-util、PCRE
APR and APR-Util
Make sure you have APR and APR-Util already installed on your system. If you don’t, or prefer to not use the system-provided versions, download the latest versions o