文档介绍:环境搭建手册(PHP版)软件版本:RedHatEnterpriseLinux5Update2Apache版本::::(1)(2)(3)(4)jpegsrc(5)(6)(7)(8)(9)(似乎非必需)安装步骤把所有依赖包,需要安装的软件放到home/username下先用rpmqa|grep–i包名查找一下mysql,apache是不是已经装上了,例如mysqlqa|grep–imysqlmysqlqa|grep–ihttpd,如果mysql装上了,用rpm–emysql删除,如果httpd也装上了的话…从新装系统把,清理起来太麻烦了。进入放包的目录,开始装吧:32位机器:首先安装perl-DBI--,MySQL-munity--。rpm-ivhperl-DBI---ivhMySQL-munity---ivhMySQL-munity---ivhMySQL-munity--:1rpm–ivhperl-DBI--–ivhMySQL-munity--–ivhMySQL-munity--–ivhMySQL-munity-- tarjxvfhttpd--./configure--prefix=/usr/local/apache2--enable---./configure--prefix=/usr/local/libiconvmakemakeinstall安装freetypetar-zxvffreetype--./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/jp