Wednesday, October 12, 2005

PHP and Oracle

Yah masak consultant disuruh coding PHP ? itulah pertanyaanku dari kemarin karena dapet job aneh. Ya memang begitu, karena hanya untuk mencapai masalah performansi aku harus tetep coding pake PHP meskipun cuman beberapa baris :(. Anehnya lagi database yang digunakan adalah oracle, Hmm masak bisa pake oracle kok cuman pake PHP. Ya begitulah keadaanya gabisa nolak lagi.

Setelah liat2 sana sini , so aku coba kasih step simple untuk koneksi PHP dengan Oracle. Untuk caraku aku pake OCI, meskipun dalam manualnya ada cara lain (cari yang paling cepet aja ). Pertama u harus download oracle instant client, ini harus klo u ga punya installation oracle client di komputer. Abis gitu extract dan set PATH kearah directory tersebut. Terakhir uncomment extension di php.ini pada bagian "php_oci8.dll". So you've done, simpel dan cepat. Tinggal masalah sintaks dan masalah logika. Klo pengen lebih jelas silahkan kunjungi Oracle Faq dan Oracle PHP. Lumayan lho untuk dipelajari, sapa tau nanti kepepet kayak saya :D.

1 comment:

Anonymous said...

What Will RealNetworks Do With The Money?
What Will RealNetworks Do With The Money? : With this $460 million cash bounty, RealNetworks now ... Together, the two command upwards of 44 percent of the market...AOL's AIM has about 56 percent, says BetaNews.
Emmanuel here!

Hey, you have a great blog here! I'm definitely going to bookmark you and tell my friends about you!!!

I have a income site/blog. It pretty much covers income related stuff.

Come and check it out if you get time :-)