PHP5 + OCI8 di Ubuntu 9.10 Karmic Koala

Tinggalkan komentar


Tahapan untuk dukungan oci8 –> Oracle di PHP5 Ubuntu 9.10 Karmic Koala

Ubuntu 9.10 Karmic Koala

root@mytrb-laptop:/usr/local/src# pecl install oci8
downloading oci8-1.3.5.tgz …
Starting to download oci8-1.3.5.tgz (137,987 bytes)
………………………..done: 137,987 bytes
10 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
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] : instantclient,/opt/oracle/instantclient

…..
Build process completed successfully
Installing ‘/usr/lib/php5/20060613+lfs/oci8.so’
install ok: channel://pecl.php.net/oci8-1.3.5
configuration option “php_ini” is not set to php.ini location
You should add “extension=oci8.so” to php.ini
root@mytrb-laptop:/usr/local/src# /etc/init.d/apache2 restart
php.ini

oci8 di phpinfo()

Semoga bermanfaat …

Dukungan Oracle untuk PHP di Jaunty

4 Komentar


oracle-instantclient

oci8_php

Instalasi lengkap bisa dibaca disini : http://www.howforge.com/how-install-oci8-php-5-ubuntu