Jump to content

Romas

New Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Romas

  1. 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?
×
×
  • 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.