1.http://labs.mop.com/apache-mirror//httpd/httpd-2.4.2.tar.bz2下载apache
2.tar -jxvf httpd-2.4.2.tar.bz2解压
3../configure –prefix=/usr/local/apache配置apache路径
4.安装一些所需插件
wget http://archive.apache.org/dist/apr/apr-1.4.5.tar.gz
wget http://archive.apache.org/dist/apr/apr-util-1.3.12.tar.gz
wget http://jaist.dl.sourceforge.net/project/pcre/pcre/8.10/pcre-8.10.zip
a:解决apr not found问题>>>>>>
- cd apr-1.4.5
- ./configure --prefix=/usr/local/apr
- make && make install
-
b:解决APR-util not found问题>>>>
- tar -zxf apr-util-1.3.12.tar.gz
- cd apr-util-1.3.12
- ./configure --prefix=/usr/local/apr-util -with- apr=/usr/local/apr/bin/apr-1-config
- make && make install
c:解决pcre问题>>>>>>>>>
- unzip -o pcre-8.10.zip
- cd pcre-8.10
- ./configure --prefix=/usr/local/pcre
- make
- --disable-shared --with-pic
- make&&make install
d.最后编译Apache时加上:
--with-apr=/usr/test/apr
--with-apr-util=/usr/test/apr-util/
--with-pcre=/usr/test/pcre
5.make&&make install
分享到:
相关推荐
apache 安装过后基本配置文件说明.
apache安装配置详解,希望能帮助到每一位开发人员
linux下的apache安装与配置,内包含安装包与依赖的包。
apache安装后所有的文件夹详细说明
apache安装图文详解,内附详细安装介绍,新手安装必备资料
linux Apache安装(图文) linux Apache安装(图文) linux Apache安装(图文)
描述在linux下安装apache的整个详细过程
(1)apache安装:安装步骤就不说了,简单。需要注意的一点就是检查本机的iis端口号不要和apache冲突,此apache包的默认端口是80。安装完成后,打开 http://loccalhost,如果能出现内容,那你的Apache就安装成功了...
apache安装必备
Apache2安装部署以及配置文档Apache2安装部署以及配置文档
PHP+MySQL+apache安装,教PHP初学者如何顺利安装成功!
在Ubuntu中安装apache 安装指令: sudo apt-get install apache2 安装结束后: 产生的启动和停止文件是:/etc/init.d/apache2 启动: sudo apache2ctl -k start 停止: sudo apache2ctl -k stop 重新启动: sudo...
详细讲解apache安装 php和apache整合 虚拟目录 虚拟主机
ubuntu下svn+apache安装配置
Linux环境apache安装 Linux环境apache安装 Linux环境apache安装
window版下的apache安装程序,绝非源代码,以及配安装步骤,忘大家喜欢
svn+apache安装配置 svn+apache安装配置
php+mySQL+apache安装步骤,绝对详细.
apache 安装程序包使用者可以直接下载。
在 windows 下为apache 安装多个服务,可以在apache下建立多个网站。