By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,349 Members | 1,280 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,349 IT Pros & Developers. It's quick & easy. not found after compile php

P: n/a
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 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 ?

Jul 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.