February 6th, 2010 by Gia

Langsung deh :

  1. Download oracle-instantclient11.2-basic-11.2.0.1.0-1.x86_64.zip
  2. Download oracle-instantclient11.2-sdk-11.2.0.1.0-1.x86_64.zip
  3. unzip oracle-instantclient11.2-basic-11.2.0.1.0-1.x86_64.zip
  4. unzip oracle-instantclient11.2-sdk-11.2.0.1.0-1.x86_64.zip
  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

Comments

comments

Leave a Reply

Time limit is exhausted. Please reload CAPTCHA.