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 \
# 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 \
# LIBS=-lpthread ./config.status \
  --prefix=/usr/local/apache \
  --enable-module=most \
# 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"

are these command not correct ?
or i miss something ?


PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to