Forum Stats

  • 3,827,142 Users
  • 2,260,745 Discussions
  • 7,897,182 Comments

Discussions

Installing instantclient and oci8 on CentOS 6

2610702
2610702 Member Posts: 1
edited Feb 12, 2014 12:26PM in PHP

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
Tagged:

Comments

This discussion has been closed.