#!/bin/sh HERE=`pwd` PATH_APACHE='/home2/apache' ORACLE_HOME='/opt/oracle' PHP_DIR='php-4.0.2' PHP_TGZ="$PHP_DIR.tar.gz" PHP_FLAGS="--prefix=$PATH_APACHE --with-apxs=$PATH_APACHE/bin/apxs --with-config-file-path=$PATH_APACHE/conf --with-oracle=$ORACLE_HOME --with-oci8=$ORACLE_HOME --enable-sigchild" rm -rfv $PHP_DIR tar xvzf $PHP_TGZ cd $PHP_DIR ./configure $PHP_FLAGS make make install cd $HERE