1 Reply Latest reply on Feb 12, 2014 5:26 PM by cj

    Installing instantclient and oci8 on CentOS 6


      The guide at  Installing PHP and the Oracle 11g Instant Client for Linux and Windows is good, but it's missing a few essential steps for a successful installation on CentOS 6.


      1. point 6:
        Add the Instant Client directory to /etc/ld.so.conf
        or rather, add a new file in /etc/ld.so.conf.d/, and make sure to run ldconfig after you did that, or else your addition will simply be ignored.
      2. After you've added "extension=oci8.so" to /etc/php.ini or, again, better use a new file in /etc/php.d/, check your SElinux settings.
        See CentOS 6: PHP can not load gdchart.so and oci8.so compiled by me - Server Fault