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

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

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

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

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

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

环境搭建手册(PHP版) 软件版本: RedHatEnterpriseLinux5Update2 Apache版本:2.29 Mysql版本:5.1.26 PHP版本:5.26 PHP依赖名称及版本: (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 安装Mysql rpm-ivhMySQL-server-community-5.1.26-0.rhel5.i386.rpm rpm-ivhMySQL-client-community-5.1.26-0.rhel5.i386.rpm rpm-ivhMySQL-devel-community-5.1.26-0.rhel5.i386.rpm 64位机器: 1rpm–ivhperl-DBI-1.52-1.fc6.x86_64.rpm 2rpm–ivhMySQL-server-community-5.1.26-0.rhel5.x86_64.rpm rpm–ivhMySQL-client-community-5.1.26-0.rhel5.x86_64.rpm rpm–ivhMySQL-devel-community-5.1.26-0.rhel5.x86_64.rpm 3.安装Apache tarjxvfhttpd-2.2.9.tar.bz2 cdhttpd-2.2.9 ./configure--prefix=/usr/local/apache2--enable-so make makeinstall 4.安装libiconv tarzxvflibiconv-1.12.tar.gz cdlibiconv-1.12 ./configure--prefix=/usr/local/libiconv make makeinstall 安装freetype tar-zxvffreetype-2.3.7.tar.gz cdfreetype-2.3.7 ./configure--prefix=/usr/local/freetype2 make makeinstall 安装libpng cdlibpng-1.2.29 ./configure--prefix=/usr/local/libpng make makeinstall 安装jpegsrc mkdir/usr/local/jpeg6 mkdir/usr/local/jpeg6/bin mkdir/usr/local/jpeg6/lib mkdir/usr/local/jpeg6/include mkdir/usr/local/jpeg6/man mkdir/usr/local/jpeg6/man/man1 tar-zxvfjpegsrc.v6b.tar.gz cdjpeg-6b/ 32位机器: ./configure--prefix=/usr/local/jpeg6/--enable-shared--enable-static make makeinstall 64位机器: cp/usr/share/libtool/config.guessconfig.guess cp/usr/share/libtool/config.subconfig.sub./configure--prefix=/usr/local/jpeg6/--enable-shared--enable-staticmakelibdir=/usr/lib64makelibdir=/usr/lib64install使用64位函数库编译. 安装gd tarvxfgd-2.0.35.tar.bz2 cdgd-2.0.35 ./configure--prefix=/usr/local/gd--with-png-dir=/u