Good day, I have a project developed in the Codeigniter framework (PHP) which has a connection to SQLSERVER. The project locally is working fine, but when I uploaded it to a Windows server it shows me an error, the steps you took on the server were the same as you did on the server (put the .dlls in the php ext directory and call them in the php.ini file). I attach the error that you are sending me in the connection and I also attach my connection.
SQLSERVER connection
$db['sqlserver'] = array(
'dsn' => '',
'hostname' => '192.2.2.2',
'username' => 'sa',
'password' => 'password',
'database' => 'name_database',
'dbdriver' => 'sqlsrv',
'dbprefix' => '',
'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
);
Error
I hope you can support me.
Thank you very much.