mysql采用rpm方式安装
rpm -ivh MySQL-server-5.0.37-0.i386.rpm
rpm -ivh MySQL-client-5.0.37-0.i386.rpm
apache采用tar包安装
#tar zxvf httpd-2.2.4.tar.gz
#cd httpd-2.2.4
#./configure --prefix=/usr/local/apache2 --sysconfdir=/etc/httpd --enable-module=so
#make;make install
gd库采用tar包,分布安装
安装JPEG包
#tar zxvf jpegsrc-6b.tar.gz
#cd jpeg-6b
#./configure
#make
#mkdir -p /usr/local/man/man1
#make install
#make install-lib
安装TTF包
#tar zxvf freetype-2.1.10.tar.gz
#cd freetype-2.1.10
#./configure;make;make install
安装zlib包(libpng支持包)
#tar zxvf zlib-1.2.3.tar.gz
#cd zlib-1.2.3
#./configure;make;make install
安装libpng包
#tar zxvf libpng-1.2.8-config.tar.gz
#cd libpng-1.2.8-config
#cp scripts/makefile.gcmmx makefile
#make;make install
安装gd包
#tar zxvf gd-2.0.33.tar.gz
#cd gd-2.0.33
#./configure;make;make install
#cp gd.h /usr/local/lib/
xml采用tar包安装
#tar zxvf libxml2-2.6.22.tar.gz
#cd libxml2-2.6.22
#./configure;make;make install
php采用tar包安装
#tar zxvf php-5.2.1.tar.gz
#cd php-5.2.1
#./configure --prefix=/usr/local/php5 --with-config-file-path=/etc/php/ --with-apxs2=/usr/local/apache2/bin/apxs --with-gd --with-jpeg-dir --with-ttf --with-zlib-dir --with-png-dir --with-mysql --enable-track-vars
#make;make install
#chmod 755 /usr/local/httpd/modules/libphp5.so
#cp php.ini-dist /etc/php/php.ini
zend采用tar包安装
tar zxvf ZendOptimizer-2.5.10-linux-glibc21-i386.tar.gz
cd ZendOptimizer-2.5.10-linux-glibc21-i386
./install.sh
支持php,编辑httpd.conf
vi /etc/httpd/httpd.conf
--------------------------------------------------------------
+AddType application/x-httpd-php .php
+Addtype application/x-httpd-php-source .phps
LoadModule php5_module modules/libphp5.so
DirectoryIndex index.html index.html.var index.php
--------------------------------------------------------------