Jump to content

Recommended Posts

Hello!

I have installed oracle 11g client on my Centos 6.3 linux server where i have php 5.3 on Apache Server.

Then i have installed php oci8 extension, And it was configured and worked well.

But i understood that i need oracle 10g client, so I removed 11g and installed 10g. 

Now oci8 is not supposed to be loaded and php -v outputs this:

 

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/oci8.so' - libclntsh.so.             11.1: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_oci.so' - libclntsh.             so.11.1: cannot open shared object file: No such file or directory in Unknown on line 0
 
I decided to delete oci8 lib and install it:
I used "pecl install oci8", when promted for oracle home I input "/usr/lib/oracle/10.2.0.4/client64;".
Restarted apache but have th same problem!
Why php tries to link to 11.1 library and how can i change it to 10.1?
Link to comment
https://forums.phpfreaks.com/topic/280986-oci8-libclntshso-trouble/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.