预览加载中,请您耐心等待几秒...
1/7
2/7
3/7
4/7
5/7
6/7
7/7

在线预览结束,喜欢就下载吧,查找使用更方便

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

环境搭建手册(PHP版)软件版本:RedHatEnterpriseLinux5Update2Apache版本:2.29Mysql版本:5.1.26PHP版本:5.26PHP依赖名称及版本:(1)libiconv1.12(2)freetype2.37(3)libpng1.2.29(4)jpegsrc(5)gd2.0.35(6)libxml22.6.32(7)libmcrypt2.5.8(8)mhash0.99(9)mcrypt2.6.7(似乎非必需)安装步骤把所有依赖包,需要安装的软件放到home/username下先用rpmqa|grep–i包名查找一下mysql,apache是不是已经装上了,例如mysqlqa|grep–imysqlmysqlqa|grep–ihttpd,如果mysql装上了,用rpm–emysql删除,如果httpd也装上了的话…从新装系统把,清理起来太麻烦了。进入放包的目录,开始装吧:32位机器:首先安装perl-DBI-1.52-1.fc6.i386.rpm,MySQL-server-community-5.1.26-0.rhel5.i386.rpm依赖此包。rpm-ivhperl-DBI-1.52-1.fc6.i386.rpm安装Mysqlrpm-ivhMySQL-server-community-5.1.26-0.rhel5.i386.rpmrpm-ivhMySQL-client-community-5.1.26-0.rhel5.i386.rpmrpm-ivhMySQL-devel-community-5.1.26-0.rhel5.i386.rpm64位机器:1rpm–ivhperl-DBI-1.52-1.fc6.x86_64.rpm2rpm–ivhMySQL-server-community-5.1.26-0.rhel5.x86_64.rpmrpm–ivhMySQL-client-community-5.1.26-0.rhel5.x86_64.rpmrpm–ivhMySQL-devel-community-5.1.26-0.rhel5.x86_64.rpm3.安装Apachetarjxvfhttpd-2.2.9.tar.bz2cdhttpd-2.2.9./configure--prefix=/usr/local/apache2--enable-somakemakeinstall4.安装libiconvtarzxvflibiconv-1.12.tar.gzcdlibiconv-1.12./configure--prefix=/usr/local/libiconvmakemakeinstall安装freetypetar-zxvffreetype-2.3.7.tar.gzcdfreetype-2.3.7./configure--prefix=/usr/local/freetype2makemakeinstall安装libpngcdlibpng-1.2.29./configure--prefix=/usr/local/libpngmakemakeinstall安装jpegsrcmkdir/usr/local/jpeg6mkdir/usr/local/jpeg6/binmkdir/usr/local/jpeg6/libmkdir/usr/local/jpeg6/includemkdir/usr/local/jpeg6/manmkdir/usr/local/jpeg6/man/man1tar-zxvfjpegsrc.v6b.tar.gzcdjpeg-6b/32位机器:./configure--prefix=/usr/local/jpeg6/--enable-shared--enable-staticmakemakeins