how to generate oci8.so ?

From: Date: Tue, 15 Jul 2003 09:47:59 +0000
Subject: how to generate oci8.so ?
Groups: php.db 
Request: Send a blank email to php-db+get-29259@lists.php.net to get a copy of this message
hi all, i have installed oracle9i client tools on RedHat7.3 (x86 machine) and i compiled php4.1.2 & apache1.3 successfully but when i execute php script in browser, error occured: "Fatal error: Call to undefined function: ocilogon()" i found no oci8.so in the whole system. i think this is the reason why the error occured follow are my commands to compile php4 & apach1.3: (in php source path, /tmp/php-4.1.2) # /tmp/php-4.1.2/configure --prefix=/usr/local/php4 \ --with-oci8=/home/lok/OraHome1/ \ --with-apache=/tmp/apache_1.3.23/ \ --enable-track-vars \ --enable-sigchild # make # make install #cp /tmp/php-4.1.2/libs/libphp4.a /tmp/apache_1.3.23/src/modules/php4/ (in apache sourcepaht, /tmp/apache_1.3.23) #/tmp/apache_1.3.23/configure --prefix=/usr/local/apache \ --activate-module=src/modules/php4/libphp4.a \ --sysconfdir=/usr/local/apache/conf \ --includedir=/usr/local/apache/include \ --libexecdir=/usr/local/apache/libexec \ --htdocsdir=/var/www/html \ --enable-module=php4 \ --enable-shared=max # LIBS=-lpthread ./config.status \ --prefix=/usr/local/apache \ --enable-module=most \ --enable-shared=max # make # make install also, i have add these environment varable: # ORACLE_HOME="/home/lok/OraHome1" # export ORACLE_HOME # LD_LIBRARY_PATH="/home/lok/OraHome1/lib" # export LD_LIBRARY_PATH are these command not correct ? or i miss something ? regards, lok

« previous php.db (#29259) next »