# cd /httpd-2.4.33/srclib
# cd apr
# ./configure --prefix=/usr/local/apr
# make && make install
# cd ../apr-util/
# ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
# make && make install
编译和安装apache
# cd /httpd-2.4.33
# ./configure -prefix=/home/web/apache2 --with-included-apr --enable-so --enable-deflate=shared --enable-expires=shared --enable-rewrite=shared --enable-static-support --disable-userdir --enable-proxy=shared --enable-proxy-http=shared --enable-proxy-ftp=shared --enable-proxy-connect=shared
# make && make install