Topic: after upgrading PHP 5.3 to 5.6 from remi repository OCI8 giving error
Dear Friends,
I have upgraded my php on centos 6.6 from 5.3 to 5.6 using the following repository
(wget dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm)
(wget rpms.famillecollet.com/enterprise/remi-release-6.rpm)
after upgradtion I was getting the following error
Starting php-fpm: [03-May-2017 14:43:19] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/oci8.so' - libclntsh.so.12.1: cannot open shared object file: No such file or directory in Unknown on line 0
r when starting PHP
after going through the forums I found I have to install OCI8 from the remi repository which I did
now I am getting the following error when starting PHP
Starting php-fpm: [03-May-2017 14:43:19] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/oci8.so' - libclntsh.so.12.1: cannot open shared object file: No such file or directory in Unknown on line 0
[03-May-2017 14:43:19] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/oci8.so' - libclntsh.so.12.1: cannot open shared object file: No such file or directory in Unknown on line 0
[03-May-2017 14:43:19] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_oci.so' - libclntsh.so.12.1: cannot open shared object file: No such file or directory in Unknown on line 0
I have added LD_LIBRARY_PATH env var but the result is same.
Any help is appreciated!!!!!
Thanks,
Basid.