[eluser]Siregar[/eluser]
I want to coneccting CodeIgniter to Oracle
I use oracle6i, CodeIgniter_2.0.2, PHP Version 5.3.5, and XAMPP 2,5. My Oracle is installed in other PC.
My configuration is like this :
Code:
$db['default']['hostname'] = '//178.178.2.82:1521/DBMD';
$db['default']['username'] = 'usermd';
$db['default']['password'] = 'coba';
$db['default']['database'] = '';
$db['default']['dbdriver'] = 'oci8';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = '';
$db['default']['char_set'] = 'utf8';
$db['default']['dbcollat'] = 'utf8_general_ci';
$db['default']['swap_pre'] = '';
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE;
but i always get error like this :
Quote:Use of undefined constant OCI_COMMIT_ON_SUCCESS - assumed 'OCI_COMMIT_ON_SUCCESS'
in my php, oci still configured well. I got error when configuring it. The error is like this:
Quote:Unable to load dynamic library 'C:\xampp\php\ext\php_oci8.dll
help me please..,thank's in advance.