ubuntu 12.04 安装apache

 安装apr
vim configure
删除: $RM ‘$cfgfile’
./configure  --prefix=/home/yeelone/usr
make && make install

安装apr-utils
./configure  --prefix=/home/yeelone/usr --with-apr=/home/yeelone/usr/bin/apr-1-config
make && make install

安装pcre
(确认gcc-c++有安装 ubuntu : apt-get install g++)
./configure --prefix=/home/yeelone/usr/pcre

安装apache
./configure --prefix=/home/yeelone/usr/apahce2 --with-apr=/home/yeelone/usr/bin/apr-1-config --enable-so --with-apr-util=/home/yeelone/usr/bin/apu-1-config --with-pcre=/home/yeelone/usr/pcre/bin/pcre-config
make && make install

你可能感兴趣的:(apache,ubuntu,ubuntu,12.04)