标签:android blog http ar os sp for on div
1. Apache
Windows Binary:
http://www.apachelounge.com/download/
2. PHP
3. MySQL
http://www.mysql.com/downloads/
4. phpMyAdmin
1、 apr-1.4.6.tar.gz
tar xzf apr-1.4.6.tar.gz
./configure –prefix=/usr/local/apr
make && make install
(如果上面安装过程出现/bin/rm: cannot remove `libtoolT’: No such file or directory这个问题,解决办法 vi configure 找到$RM “$cfgfile”这行删掉)
2、 apr-util-1.5.1.tar.gz
tar xzf apr-util-1.5.1.tar.gz
.configure –with-apr=/usr/local/apr
make && make install
3、 prce
tar xzf pcre-8.32.tar.gz
./configure –prefix=/usr/local/prce
make && make install
4、 apache
tar xzf httpd-2.4.3.tar.gz
./configure -prefix=/usr/local/apache --with-apr=/usr/local/apr/ --with-pcre=/usr/local/pcre/
(编译apache 可能出现
checking for pcre-config... false
configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/
就直接安装centos的源包 yum install pcre-devel -y
)
make && make install
cd modules
make
make install
标签:android blog http ar os sp for on div
原文地址:http://www.cnblogs.com/zhizhong/p/4151794.html