Answers for "Call to undefined function mysqli_init()"

SQL
0

Call to undefined function mysqli_init()

it is not a bug in your application, it is just a missing driver, so, you have
couple of options...

Go to your php init and uncomment the following:

extension=php_mysqli.dll
If not, try installing it at your server, it varies depending on your 
distribution.

Try installing php5-mysqlnd

If you cannot do it by hosting restrictions then just move to mysql driver 
(wont need to change other configurations or queries in CodeIgniter or anything
 else...)

like this (at your config file)

$db['default']['dbdriver'] = 'mysql'; (you might have mysqli now)
Posted by: Guest on March-17-2021

Code answers related to "Call to undefined function mysqli_init()"

Code answers related to "SQL"

Browse Popular Code Answers by Language