| |
Forum PHP IndonesiaDapatkan pertolongan pertama pada kebingungan PHP dan sekitarnya |
|
|
|
|
|
| |
|
|
All times are GMT + 7 Hours
|
|
koneksi php-oracle
 |
Mon Mar 16, 2009 11:22 |
 |
Author |
Message |
esraldi PHP Programmer

Joined: 15 Jun 2008 Posts: 172 Location: yogyakarta
|
| Post subject: koneksi php-oracle |
|
|
bagaimana ya langkah-langkah untuk mengkoneksikan script php dengan database oracle 10g, apakah perlu tambahan lib lagi ato hanya meng-enablekan orcl.. di php.ini-nya?  _________________ esraldi |
|
| |
|
|
 |
Sun Apr 12, 2009 06:12 |
 |
Author |
Message |
fasisi PHPnewbie

Joined: 28 Mar 2009 Posts: 17
|
| Post subject: |
|
|
hallo,
setahu saya sih, kamu harus meng-enable-kan oracle dalam php.ini juga menyiapkan library-library oracle yang dibutuhkan php.
fasisi _________________ fasisi
www.pasar-programmer.com - wadah ketemu antara programmer dan calon user |
|
| |
|
|
 |
Mon Apr 13, 2009 01:16 |
 |
Author |
Message |
. Super Master PHP


Joined: 05 Apr 2008 Posts: 2225
|
| Post subject: |
|
|
pake zend for oracle saja, jangan pake yg lain... gugle... _________________ #ccdbea
Juliet: "What's in a name? That which we call a rose by any other name would smell as sweet."
Hamlet: "To be, or not to be: that is the question."
- William Shakespeare - |
|
| |
|
|
 |
Fri Apr 24, 2009 08:05 |
 |
Author |
Message |
jentix PHP Programmer

Joined: 16 Mar 2008 Posts: 83
|
| Post subject: |
|
|
| Betul mas pake Zendcore for oracle..Aq juga pake koq. |
|
| |
|
|
 |
Sat Jan 09, 2010 21:23 |
 |
Author |
Message |
esraldi PHP Programmer

Joined: 15 Jun 2008 Posts: 172 Location: yogyakarta
|
| Post subject: |
|
|
thanks dah konek.. q pake oracle linuk redhat boy.... n listener pake oracle windows sbg client-nya _________________ esraldi |
|
| |
|
|
 |
Sat Jan 09, 2010 21:29 |
 |
Author |
Message |
esraldi PHP Programmer

Joined: 15 Jun 2008 Posts: 172 Location: yogyakarta
|
| Post subject: |
|
|
thanks dah konek.. q pake oracle linuk redhat boy.... n listener pake oracle windows sbg client-nya _________________ esraldi |
|
| |
|
|
 |
Sat Jan 16, 2010 03:08 |
 |
Author |
Message |
jun_harefa Anak Baru

Joined: 24 Dec 2009 Posts: 3
|
| Post subject: |
|
|
Mo nanya donk... bagaimana cara bikin report pdf menggunakan php dengan database oracle...
Ada yang punya contoh scriptnya ga???
Kalau ada tolong di share di sini donk....
Thx b4.... |
|
| |
|
|
 |
Sat Jan 16, 2010 18:14 |
 |
Author |
Message |
hlie I am PHP


Joined: 10 Apr 2008 Posts: 3050 Location: Singapore
|
| Post subject: |
|
|
ada lib fpdf di php, tinggal aktifin saja di php.ini dan lihat contoh implementasinya di manual _________________ Past is Experience,Present is Experiments,Future is Expectations,Use your Experience in your Experiments to achieve your Expectations...!!!
www.slackware.com |
|
| |
|
|
 |
Fri Jan 29, 2010 08:46 |
 |
Author |
Message |
anw29701 Anak Baru

Joined: 27 Jan 2010 Posts: 2 Location: Balikpapan
|
| Post subject: koneksi ke oracle |
|
|
| di php ini sudah di enable oci8 nya, tapi setelah di cek pake phpinfo() kok gak aktif, tolong dong setingannya yg belum dimana? |
|
| |
|
|
 |
Tue Mar 22, 2011 08:05 |
 |
Author |
Message |
mascluring PHPnewbie

Joined: 04 Mar 2011 Posts: 17 Location: Jakarta
|
| Post subject: |
|
|
| jentix wrote: | | Betul mas pake Zendcore for oracle..Aq juga pake koq. |
mau nanya bang,
apakah zendcore bisa berfungsi seperti xampp/appserv?.
tengs _________________ ok... |
|
| |
|
|
 |
Tue Mar 29, 2011 13:33 |
 |
Author |
Message |
razuel Anak Baru

Joined: 29 Mar 2011 Posts: 4
|
| Post subject: |
|
|
untuk koneksi ke oracle sbenarnya tidak perlu menggunkana zend core, yang penting ada oracle client dan php dengn ext oci aktif
untuk aktifin ext oci, cukup ilangin tanda # di php ini dibagian oci8, setelah itu restart apachenya
kalo ga mau pusing pake oracle client, install aja oracle express edition,kcil ko ga berat, disitu udah ada oracle clientnya.
kalo untuk koneksinya pake perintah berikut
$conn=oci_connect("user","password","TNSNAME");
untuk TNSNAME coba cari tnsname.ora di oracle home, biasanya kalo ngsintall oracle xe ada di folder C:\oraclexe. kalo udah ketemu buka pek notepad.
contohnhya
db_server=(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.234.130.226)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)
jadi koneksinya begini
$conn=oci_connect("user","password","=(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.234.130.226)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)");
atau bisa juga khusus untuk di windows
$conn=oci_connect("user","password","db_server") |
|
| |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
|
|
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|