cp -rf apr-1.5.1 httpd-2.4.9/srclib/apr
cp -rf apr-util-1.5.3httpd-2.4.9/srclib/apr-util
拷贝资源(这里的apr和apr-util都是解压文件,不行 ./configure和make make install过的 )主要配置文档如下:
./configure--prefix=/root/server/httpd-2.4.9 --with-included-apr --with-apr=/root/server/lib/apr/apr-1.5.1--with-apr-util=/root/server/lib/apr/apr-util-1.5.3--with-pcre=/root/server/lib/pcre/pcre-8.35-with-z=/root/server/lib/zlib/zlib-1.2.8 --enable-so --enable-modules=all--enable-mods-shared=all --enable-deflate --enable-headers
其中需要安装apr apr-util pcre zlib等。
执行完需要配置/conf 下的hhtpd.conf 和workers.properties文件