CodeIgniter's default database driver is mysql instead of mysqli

According to php.net mysql is deprecated and mysqli should be used instead. Why is "dbdriver" (in app /config/database.php) installed as mysql by default instead of mysqli, or better yet PDO?

+3


source to share


1 answer


You can always change this to mysqli, but before switching to mysqli, enable mysqli in php.ini As described in this answer .



+2


source







All Articles