To do this, you will need to use the oci8 extension using the oci8 CI driver :
$config['hostname'] = '192.168.1.9/XE'; // assuming it is XE $config['username'] = 'test'; $config['password'] = 'test'; $config['database'] = 'dbname'; $config['dbdriver'] = 'oci8';
This works _should_.
If you were hoping to use PDO for it, this is not possible. Mostly due to pdo_oci weirdness and driver crash, that is, CI database drivers .
source share