October 28th, 2010 by Gia
  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. Install php-pear menggunakan YaST
  9. Install php-devel menggunakan YaST
  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/php5/conf.d/oci8.ini, tambahkan baris extension=oci8.so
  13. vi /etc/ld.so.conf, tambahkan baris /usr/local/instantclient11
  14. service apache2 restart
  15. finish :D

** Beberapa CPAN Site di Indonesia (diperlukan di langkah 10)  :
http://cpan.biz.net.id/
http://komo.vlsm.org/CPAN/
ftp://komo.vlsm.org/CPAN/
http://cpan.cermin.lipi.go.id/
ftp://cermin.lipi.go.id/pub/CPAN/
http://cpan.pesat.net.id/

Comments

comments

Leave a Reply

Time limit is exhausted. Please reload CAPTCHA.