webshow

Apache+PHP+MySQL

1. Apache

http://httpd.apache.org/

Windows Binary:

http://www.apachelounge.com/download/

2. PHP

http://php.net/

3. MySQL

http://www.mysql.com/downloads/

4. phpMyAdmin

http://www.phpmyadmin.net/

 

 

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

 

 

 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。