Hi all,
I've spend hours trying to use my postgre database. I've searched internet, tried all i've seen, but it stilll don't work
My databse file informations :
Code:
$active_group = 'default';
$query_builder = TRUE;
$db['default'] = array(
'dsn' => 'pgsql:host=localhost;port=5432;dbname=jobdd',
'hostname' => 'localhost',
'username' => 'username', // info for example
'password' => 'password',// info for example
'database' => 'jobdd',
'dbdriver' => 'postgre',
'dbprefix' => '',
'schema' => 'public',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
I've changed my original connexion inormations !
It's important to note that databse drvier is loaded
When i try ti connect, i see this message :
A PHP Error was encountered
Severity: Error
Message: Call to undefined function pg_connect()
Filename: postgre/postgre_driver.php
Line Number: 154
Backtrace:
Thank you very much for your help !