//安裝 Oracle xe Server
#rpm -ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm
#/etc/init.d/oracle-xe configure
//安裝 Oracle xe Client
#rpm -ivh oracle-xe-client-10.2.0.1-1.0.i386.rpm
//設定Oracle Home, Sid, Path
# vi /etc/profile
ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
ORACLE_SID=XE
PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC ORACLE_HOME ORACLE_SID
//Make Apache
#tar zxvf httpd-2.0.46.tar.gz
#mv httpd-2.0.46 /usr/local/
#cd /usr/local/httpd-2.0.46/
#./configure –enable-so –prefix=/usr/local/httpd
#make
#make install
//Make Curl
#tar zxvf curl-7.14.1.tar.gz
#mv curl-7.14.1 /usr/local/
#cd /usr/local/curl-7.14.1/
#./configure –enable-http –enable-thread –enable-crypto-auth –enable-cookies –prefix=/usr/local/curl
#make
#make install
//Make PHP
#tar zxvf php-4.3.11.tar.gz
#cd /usr/local/php-4.3.11/
#./configure –with-oci8 –with-oci8-instant-client=/usr/lib/oracle/xe/app/oracle/product/10.2.0/client/lib/ –enable-so –with-apxs2=/usr/local/httpd/bin/apxs
–prefix=/usr/local/php –with-curl=/usr/local/curl/
#make
#make install
#cd /usr/local/php
#ln -s /usr/local/php/bin/php /usr/bin/
#ln -s /usr/local/php/bin/pear /usr/bin/
#php -v
#cp /usr/local/php-4.3.11/libs/libphp4.so /usr/lib/httpd/modules/
//設定 載入PHP module
#vi /etc/httpd/conf/httpd.conf
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php