1 Reply Latest reply: Feb 12, 2014 11:26 AM by cj RSS

    Installing instantclient and oci8 on CentOS 6

    dd9f8622-860b-42d8-83c4-74f720d17d32

      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