sol
sol

Reputation: 440

CodeIgniter 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 application/config/database.php) set as mysql by default instead of mysqli or better yet PDO?

Upvotes: 4

Views: 4303

Answers (1)

Shantanu
Shantanu

Reputation: 692

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

Upvotes: 3

Related Questions