Codeigniter: Fatal Error Call to Undefined Function Mysqli_Init()

How do i fix Call to undefined function mysqli_init() error

the problem was that i had 2 installations of XAMPP, the older vesion didn't have a php.ini file at all. adding the file fixt the problem.

all my files were in the htdocs folder of the second installation so i'm not sure how the older version affected my new one.

Getting a mysqli_conect error in codeigniter

Your server does not have php-mysql package installed. You will have to install it and reload the server. Package might be different on the basis of your PHP version. I hope this helped.

VPS server - Fatal error: Call to undefined function mysqli_init()

You need to go into WHM on the VPS and install the mysqli extension. You can do that using EasyApache as described here...

https://www.godaddy.com/help/enabling-apache-or-php-modules-using-easyapache-6237



Related Topics



Leave a reply



Submit