如何源码编译httpd2.4

这篇文章主要介绍如何源码编译httpd2.4,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!

yum install gcc pcre-devel expat-devel openssl* -y

./configure --prefix=/usr/local/apr && make && make install

./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr && make && make install

./configure \
--with-apr=/usr/local/apr \
--with-apr-util=/usr/local/apr-util \
--prefix=/usr/local/apache \
--sysconfdir=/etc/httpd24 \
--enable-so \
--enable-ssl \
--enable-cgi \
--enable-rewrite \
--with-zlib \
--with-pcre \
--with-mpm=prefork \
--enable-modules=most \
--enable-mpms-shared=all

以上是“如何源码编译httpd2.4”这篇文章的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注行业资讯频道!