를 연결할 수없고 나는 매우 첫 번째 단계에서 stucked 해요 : 나는 PostgreSQL을 함께 사용하려는kohana, 나는 Kohana 프레임 워크와 함께 연주 해요
,하지만 난 오류가 받고 있어요
: Kohana : 나는이 postgrsql 드라이버가 올바르게 설치 볼 수있는 일 iniErrorException [ Fatal Error ]: Class 'Database_Pgsql' not found
MODPATH/database/classes/kohana/database.php [ 78 ]
73
74 // Set the driver class name
75 $driver = 'Database_'.ucfirst($config['type']);
76
77 // Create the database connection instance
78 new $driver($name, $config);
79 }
80
81 return Database::$instances[$name];
82 }
83
{PHP internal call} » Kohana_Core::shutdown_handler()
이것은 PHP에서 내 database.php 파일
<?php defined('SYSPATH') or die('No direct access allowed.');
return array
(
'default' => array
(
'type' => 'pgsql',
'connection' => array(
'dsn' => 'pgsql:host=localhost;dbname=globalgest',
'hostname' => 'localhost',
'database' => 'globalgest',
'username' => 'postgres',
'password' => 'xxxxxxx',
'persistent' => FALSE,
),
'table_prefix' => '',
'charset' => 'utf8',
'caching' => FALSE,
'profiling' => TRUE,
),
);
입니다
pgsql
PostgreSQL Support enabled
PostgreSQL(libpq) Version 9.0.5
Multibyte character support enabled
SSL support enabled
Active Persistent Links 0
Active Links 0
그 밖의 다른 정보가 있습니까?
감사합니다.
누구를위한 기본입니까? 드라이버가 기본적으로 postgresql에 Kohana를 사용하고 있습니까? – mongeta
왜 기본 pg 드라이버가 작동하지 않습니까? 이 기본 드라이버가 더 좋습니까? 더 많은 정보를 찾을 수있는 곳은 어디입니까? git 페이지에는 아무 것도 없습니다 ... 감사합니다. – mongeta
아, 드라이버와 함께 작동하는 것을 잊어 버렸습니다 :-) – mongeta