note 24566 added to ref.oci8

From: Date: Wed, 21 Aug 2002 20:20:26 +0000
Subject: note 24566 added to ref.oci8
Groups: php.notes 
Request: Send a blank email to php-notes+get-35314@lists.php.net to get a copy of this message
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. -- http://www.php.net/manual/en/ref.oci8.php http://master.php.net/manage/user-notes.php?action=edit+24566 http://master.php.net/manage/user-notes.php?action=delete+24566 http://master.php.net/manage/user-notes.php?action=reject+24566

« previous php.notes (#35314) next »