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 --------------------------------------------------------------