Programming And More
Tags: oracle   database   cakephp  
Wed, 6/30/2010

I just had trouble telling cakephp to connect to my oracle 11g R2 but I finally found a solution:

class DATABASE_CONFIG {

	var $default = array(
		'driver' => 'oracle',
		'persistent' => false,
		'connect' => 'oci_connect',
		'login' => 'OE',
		'password' => 'yourpassword',
		'database' => 'localhost:1521/orcl',
		'prefix' => '',
	);
}



Works! Now I can go on playing with cakephp.

Posted 10 months ago
1 note
  1. schipplock posted this
blog comments powered by Disqus
Latest Tweets