OCI8, Oracle Instantclient 11 & CentOS 5.4 64bit

Langsung deh :

  1. Download oracle-instantclient11.2-basic-
  2. Download oracle-instantclient11.2-sdk-
  3. unzip oracle-instantclient11.2-basic-
  4. unzip oracle-instantclient11.2-sdk-
  5. mv instantclient_11_2/ /usr/local/instantclient11
  6. cd /usr/local/instantclient11/
  7. ln -s libclntsh.so.11.1 libclntsh.so
  8. yum install php-pear
  9. yum install php-devel
  10. pecl install oci8
  11. Jawab pertanyaan “Please provide the path to the ORACLE_HOME directory. Use ‘instantclient,/path/to/instant/client/lib’ if you’re compiling with Oracle Instant Client [autodetect]”  dengan instantclient,/usr/local/instantclient11
  12. vi /etc/php.d/oci8.ini, tambahkan baris extension=oci8.so
  13. service httpd restart
  14. finish :D

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.