473,385 Members | 1,848 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

oci8.so not found after compile php

lok
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
Jul 16 '05 #1
0 2998

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ollivier Robert | last post by:
Hello, I'm trying to link PHP with Oracle 9.2.0/OCI8 with gcc 3.2.3 on a Solaris9 system. The link succeeds but everytime I try to run php, I get a SEGV from inside the libcnltsh.so library. ...
1
by: watayoune | last post by:
Hi, My apache (on win) crash when i start it, after i had oci8 extensions in php.ini ! 1. i had extension phph_oci8.dll in php.ini 2. i've got a php_oci8.dll in my php extensions dir 3. my...
3
by: Ben Fitzgerald | last post by:
Hi I'm having an irritating problem. I've got php installed with the compile-time flag --oci8=$ORACLE_HOME. I can make connections to the oracle db no problem. Updating, selecting etc. is...
0
by: RDahlstedt | last post by:
I am relatively new to PHP, but with over a decade of experience in C and other programming languages I can usually pick up a new programming language relatively quickly (to be reasonably...
6
by: DravenStone | last post by:
Hi, I had just a horrible day at work, spent pretty much the entire day trying to get php_oci.dll and php_oracle.dll to load. It still never did. Super Quick Background. Jack of all trades IT...
4
by: cyrano | last post by:
I am having issues maintaining an oracle connection in my apache/php web application. I am able to succesfully connect to an Oracle 9i dbase using oci() and retrieve expected results for the...
5
by: Mladen Gogala | last post by:
The latest version of OCI8 1.2.1 doesn't work with LOB fields. There was an open bug, but Tony2001 was his usual helpful self, so he removed the bug and flatly denied its existence. I had to...
5
by: danish | last post by:
I download the oci-1.2.2.tgz file and generated the oci8.so file. After adding the extension=oci8.so in php.ini I get the error unable to load dynamic library /usr/lib/php4/oci8.so
0
by: Yannick | last post by:
Hi, I'm Julien from France, We have recently install a new Web Server for my company The server is composed : - Linux RedHat RHEL4 U4 - Httpd-2.0.52-27.ent - Oracle Database 10.2.0.1
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.