I'm using Windows 10 and SQL Server for my website (I'm using codeigniter), in Windows here is my setting
$db['default'] = array(
'dsn' => '',
'hostname' => '----',
'username' => '--',
'password' => '-----',
'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
);
But now, I want to upload my site from local to my server. My server using ubuntu
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
When I upload my codeigniter, I get this error
Message: Call to undefined function sqlsrv_connect()
My php version
PHP Version 7.1.10-1+ubuntu14.04.1+deb.sury.org+1
How can I fix it? Thanks in advance.
I'm using ubuntu - not Windows