I have newly installed PHP 7.2.4 and Apache 2.4
on windows server 2008 r2
. Everything done; i have set the paths, but problem is that when i configuring my PHP
file for the connection, it gives me an error unable to connect with database. I am using codeIgniter 3.1.8
.
$db['default'] = array(
'dsn' => '',
'hostname' => 'localhost',
'username' => 'root',
'password' => '',
'database' => 'database_name',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => TRUE,
'db_debug' => TRUE,
'cache_on' => FALSE
)