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?
            Asked
            
        
        
            Active
            
        
            Viewed 3,818 times
        
    4
            
            
        - 
                    2It was deprecated but same as for some reason a lot of businesses are stuck in XP, a lot of devs and hosts are in php4 - early php5. You can (to some degree) use CodeIgniter in an older version of PHP. – ggdx Oct 25 '14 at 22:24
- 
                    @dwhite.me so if i'm starting a new project I should change it to mysqli right? Or PDO? – solstice Oct 25 '14 at 22:41
- 
                    1I use mysqli, never had any issue. – ggdx Oct 25 '14 at 22:47
1 Answers
3
            
            
        You can always change that to mysqli, but before changing to mysqli enable mysqli in php.ini As described in this answer.
 
     
    