This discussion is archived
1 Reply Latest reply: Dec 22, 2011 6:12 PM by cj RSS

oci8 module doesn't load on rhel6 with php 5.3.8

906942 Newbie
Currently Being Moderated
Dear friends,

I spent my last 3 days for this problem. I didn't solve yet. Below I will show OS & PHP parameters. Please give me your solution for solving problem.

OS version: RHEL6 - 2.6.32-71.29.1.el6.x86_64
php version : PHP 5.3.8 (cli) (built: Sep 25 2011 11:33:49


and when I try command php -v , output below:

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
PHP 5.3.8 (cli) (built: Sep 25 2011 11:33:49)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies


installed modules:

php-dba-5.3.8-5.el6.remi.x86_64
php-gd-5.3.8-5.el6.remi.x86_64
php-pgsql-5.3.8-5.el6.remi.x86_64
php-mysqlnd-5.3.8-5.el6.remi.x86_64
php-xmlrpc-5.3.8-5.el6.remi.x86_64
php-fpm-5.3.8-5.el6.remi.x86_64
php-cli-5.3.8-5.el6.remi.x86_64
php-oci8-5.3.8-5.el6.remi.x86_64
php-mcrypt-5.3.8-5.el6.remi.x86_64
php-devel-5.3.8-5.el6.remi.x86_64
php-soap-5.3.8-5.el6.remi.x86_64
php-intl-5.3.8-5.el6.remi.x86_64
php-common-5.3.8-5.el6.remi.x86_64
php-pdo-5.3.8-5.el6.remi.x86_64
php-mbstring-5.3.8-5.el6.remi.x86_64
phpMyAdmin-3.4.8-1.el6.remi.noarch
php-tidy-5.3.8-5.el6.remi.x86_64
php-ldap-5.3.8-5.el6.remi.x86_64
php-bcmath-5.3.8-5.el6.remi.x86_64
php-embedded-5.3.8-5.el6.remi.x86_64
php-xml-5.3.8-5.el6.remi.x86_64
php-enchant-5.3.8-5.el6.remi.x86_64
php-5.3.8-5.el6.remi.x86_64
php-process-5.3.8-5.el6.remi.x86_64
  • 1. Re: oci8 module doesn't load on rhel6 with php 5.3.8
    cj Employee ACE
    Currently Being Moderated
    Maybe those RPMs depend on http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html

    Actually, I wouldn't try to solve it, I would just install Zend Server CE http://www.zend.com/en/products/server-ce/downloads
    which has OCI8 and the Instant Client libraries already included.

    Note that Oracle libraries are not certified on RHEL 6.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points