1.下载需要版本的源码:https://archive.apache.org/dist/httpd/
2.放入linux编译环境下。
3.进行配置:
./configure --prefix=/usr/local/apache --enable-so CFLAGS=-O2 $@
4.进行编译:make
5.进行安装:make install (安装至prefix位置)。
1.下载需要版本的源码:https://archive.apache.org/dist/httpd/
2.放入linux编译环境下。
3.进行配置:
./configure --prefix=/usr/local/apache --enable-so CFLAGS=-O2 $@
4.进行编译:make
5.进行安装:make install (安装至prefix位置)。