版本httpd.2.2.24
编译参数:
./configure \
--prefix=/usr/local/apache2 \
--with-included-apr \
--enable-so \
--enable-deflate=shared \
--enable-expires=shared \
--enable-rewrite=shared \
--with-pcre
根据参数,先安装所需要的依赖包:
yum install -y zlib-devel pcre pcre-devel apr apr-devel
make && make install
时间: 2024-11-06 23:11:45