Hello,
I am trying to install limesurvey on RHEL6 with php 5.3.3 and DB sqlserver (2008 R2). I have seen that I must use the pdo_dblib, but I have a problem with this configurarion. I get this problem:
SQLSTATE[01002] Adaptive Server connection failed (severity 9)
My configuration is:
- pdo_dblib
# php -m| grep dblib
pdo_dblib
- freetds.conf
[TS]
host = XXX.domain
port = 1433
tds version = 7.3
client charset = UTF-8
- admin.php
return array(
'name' => 'LimeSurvey',
'components' => array(
'db' => array(
'connectionString' => 'dblib:host=XXX.domain:1433;dbname=LIMESURVEY',
'username' => 'myusername',
'password' => 'mypassword',
'charset' => 'ansi',
'tablePrefix' => '',
'initSQLs'=>array('SET DATEFORMAT ymd;','SET QUOTED_IDENTIFIER ON;'),
),
// Uncomment the following line if you need table-based sessions
// 'session' => array (
// 'class' => 'application.core.web.DbHttpSession',
// 'connectionID' => 'db',
// 'sessionTableName' => '{{sessions}}',
// ),
'urlManager' => array(
'urlFormat' => 'get',
'rules' => require('routes.php'),
'showScriptName' => true,
),
any idea about this problema?
The topic has been locked.