473,401 Members | 2,127 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,401 software developers and data experts.

unable to load dynamic library /usr/lib/php4/oci8.so

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
Thanks
Danish

Jan 15 '07 #1
5 8133
danish wrote:
unable to load dynamic library /usr/lib/php4/oci8.so
At the command prompt:

ls -l /usr/lib/php4/oci8.so

What is the output?

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

Jan 15 '07 #2

Toby Inkster wrote:
danish wrote:
unable to load dynamic library /usr/lib/php4/oci8.so

At the command prompt:

ls -l /usr/lib/php4/oci8.so

What is the output?

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
sorry..im not in the office...ill be able to post the output tomorrow
morning..apologies for the delay...

Ill post the output tomorrow. please do go through the post. I have
done a lot of head banging, but im still going wrong somewhere...

Thanks
Danish

Jan 15 '07 #3
danish wrote:
Toby Inkster wrote:
>>danish wrote:

>>>unable to load dynamic library /usr/lib/php4/oci8.so

At the command prompt:

ls -l /usr/lib/php4/oci8.so

What is the output?

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact


sorry..im not in the office...ill be able to post the output tomorrow
morning..apologies for the delay...

Ill post the output tomorrow. please do go through the post. I have
done a lot of head banging, but im still going wrong somewhere...

Thanks
Danish
make sure the webserver owner userid has read+execute on oci8.so either via
group or world permissions.

--
Michael Austin
Database Consultant
Domain Registration and Linux/Windows Web Hosting Reseller
http://www.spacelots.com
Jan 15 '07 #4

Michael Austin wrote:
danish wrote:
Toby Inkster wrote:
>danish wrote:
unable to load dynamic library /usr/lib/php4/oci8.so

At the command prompt:

ls -l /usr/lib/php4/oci8.so

What is the output?

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Thanks a lot. I got it to work..just downloaded the source files of
apache web server and php4 ..then downloaded the oci8-1.2.2.tar.gz
files....compiled and built the apache, php4,oci8 files..added the
extension_dir and extension=oci8.so to php.ini..and yahoo! oci8 was
showing as supported..but now I have one other problem...

Im trying to connect to a remote oracle database, but when I run the
php code..it gives me the following error

ocilogon(): ORA-12514: TNS:listener does not currently know of service
requested in connect descriptor in /home/danish/htdocs/test.php

Thanks
Danish

sorry..im not in the office...ill be able to post the output tomorrow
morning..apologies for the delay...

Ill post the output tomorrow. please do go through the post. I have
done a lot of head banging, but im still going wrong somewhere...

Thanks
Danish

make sure the webserver owner userid has read+execute on oci8.so either via
group or world permissions.

--
Michael Austin
Database Consultant
Domain Registration and Linux/Windows Web Hosting Reseller
http://www.spacelots.com
Jan 16 '07 #5
On Tue, 16 Jan 2007 00:56:20 -0800, danish wrote:
ocilogon(): ORA-12514: TNS:listener does not currently know of service
requested in connect descriptor in /home/danish/htdocs/test.php
That is a TNS configuration error. You need to properly configure the
database entry in the tnsnames.ora. Essentially, TNS entry has 3 parts:
1) The hostname of the database server
2) Port at which Oracle listener is listening, usually 1521.
3) Service name of the service to which to connect.
Here is an example:
MEDO =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = medo.noip.com)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = brundo.noip.com)
)
)

Service names are defined by the SERVICE_NAMES Oracle parameter for RDBMS
version 9 and 10 or by MTS_SERVICE parameter for RDBMS 8i. An alternative
method is to supply a SID instead of the service name, but that is
deprecated.

--
http://www.mladen-gogala.com
Feb 7 '07 #6

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

Similar topics

3
by: Willis Lang | last post by:
Warning: Unknown(): Unable to load dynamic library './php_oci8.dll' - Access is denied. Error keeps coming up on server. I made sure the security settings were set on the file and all...
19
by: Nancy | last post by:
Hi, When I start my PC(winXP Pro), it always says: Unknown(): Unable toload dynamic library './php_msql.dll' - The specified module could not be found. Then my Apache servre starts, load php...
1
by: bissatch | last post by:
Hi, I have just finishing installing apache and PHP4. It is claiming that it cannot find the php_domxml.dll file giving me the following error when I go to load a page with dom xml function on...
7
by: ccp999 | last post by:
I keep getting this: "PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mysql.dll' - The specified module could not be found." when I tried to load the php_mysql.dll...
2
by: MS | last post by:
Why do I keep getting this error mesgage on my phpinfo() page trying to get PHP and MySQL to communicate? I am running this in IIS. Here's what I have - My php.ini resides in my C:\WINNT...
3
by: danish | last post by:
Hi, Can anyone tell me how to access oracle from php. Im using CentOS 4 with php4 already installed. From what I found after a bit of googling...php will have to be recompiled with oracle...
0
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
1
by: SmartPHP | last post by:
Hello friends, I'm using PHP with apache...my problem is i'm not able to load OCI8.dll....when i'm trying to make connection to database i'm not able to connect and it's not showing any error...my...
9
by: Christopher Koeber | last post by:
Hello, I am attempting to perform a PHP installation on an Apache 2.2.6 web server instance that is loaded on a Windows 2003 server operating system (R2 SP2). I have a third party application...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.