Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Installing instantclient and oci8 on CentOS 6

2610702Feb 12 2014 — edited Feb 12 2014

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 12 2014
Added on Feb 12 2014
1 comment
5,113 views