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

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

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

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

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

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

环境搭建手册〔PHP版〕软件版本:RedHatEnterpriseLinux5Update2Mysql版本:PHP依赖名称及版本:(3)libpng(4)jpegsrc(5)gd(6)libxml2(7)libmcrypt(9)mcrypt〔似乎非必需〕安装步骤把所有依赖包,需要安装的软件放到home/username下先用rpmqa|grep–i包名查找一下mysql,apache是不是已经装上了,例如mysqlqa|grep–imysqlmysqlqa|grep–id,如果mysql装上了,用rpm–emysql删除,如果d也装上了的话…从新装系统把,清理起来太麻烦了。进入放包的目录,开始装吧:32位机器:首先安装6.rpm,MySQL-server-community--0.rhel5.依赖此包。rpm-ivhperl-DBI-1.52-1.fc6.i386.rpm安装Mysqlrpm-ivhMySQL-server-community--0.rhel5.i386.rpmrpm-ivhMySQL-client-community--0.rhel5.i386.rpmrpm-ivhMySQL-devel-community-664位机器:1rpm–ivh2rpm–ivhMySQL-server-community-rpm–ivhMySQL-client-community-rpm–ivhMySQL-devel-community-3.安装Apachetarjxvfd-cdd-./configure--prefix=/usr/local/apache2--enable-somakemakeinstall4.安装libiconvcdlibiconv./configure--prefix=/usr/local/libiconvmakemakeinstall安装freetypetar-zxvffreetype-cdfreetype-./configure--prefix=/usr/local/freetype2makemakeinstall安装libpngcdlibpng-./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/man1cdjpeg-6b/32位机器:./configure--prefix=/usr/local/jpeg6/--enable-shared--enable-staticmakemakeinstall64位机器:cp/usr/share/libtool/config.guessccp/usr/share/libtool/config.sub./configure--prefix=/usr/local/jpeg6/--enable-shared--enable-staticmakelibdir=/usr/lib64makelibdir=/usr/lib64install使用64位函数库编译.安装gdtarvxfgd-cdgd-./configure--prefix=/usr/local/gd--with-png-dir=/usr/local/lib--with-freetype-dir=/usr/local/freetype2--with-jpeg-dir=/usr/local/jpeg6make&&makeinstall或者:makemakeinstall安装libxml2tarzxvflibxml2-2.6.32cdlibxml2-2.6.32./configure--prefix=/usr/local/libxml2makemakeinstall〔过程比拟缓慢,耐心等待〕分支1安装〔libmcrypt〕tarvxflibmcrypt-cdlibmcrypt-./configure--prefix=/usr/local/libmcryptmakemakeinstall安装mhashtarxvfmhash-.tar.bz2cdmhash-0.9.9/./configure--prefix=/usr/local/mhashmakemakeinstallln-s/usr/local/mhash/lib安装PHPtarxvfphp-cdphp-32位机器:./configure--prefix=/usr/local/php5--with-apxs2=