note 24566 deleted from ref.oci8 by tony2001

From: Date: Mon, 01 Aug 2005 21:46:07 +0000
Subject: note 24566 deleted from ref.oci8 by tony2001
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-92897@lists.php.net to get a copy of this message
Note Submitter: erabbott at NOSPAMterra dot com dot br ---- After days of head banging, here is the correct way to install php as an apache module with oracle support: 1) su - oracle_user su root //This way you assure that php will find oracle libs 2) On Apache's source directory: ./configure --prefix=/usr/local/apache 3) On PHP's source directory: ./configure --with-oci8 --with-oracle --with-apache=../apache_src_dir --enable-track-vars --enable-sigchild make make install cp libs/libphp4.a ../apache_src_dir/src/modules/php4 4) On Apache's src dir: ./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a LIBS=-lpthread ./config.status make make install 5) On PHP's src dir: cp php.ini-dist /usr/local/lib/php.ini 6) Edit httpd.conf on /usr/local/apache/conf and add the following line (if doesn't exists): AddType application/x-httpd-php .php This will make everything works, without two-task errors and stuff. Regards.

« previous php.notes (#92897) next »