Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The mysqli extension is missing. Please check your PHP configuration

Tags:

php

apache

mysqli

I have looked through all of the forums that I could find relevant to this question and my problem yet nothing works. I have apache2.2 with php5, phpMyAdmin, and MySQL. I have uncommented the extension, I have checked my phpinfo() and mysqli does not come up. My config directory is where it should be and it still will not load.

like image 995
Wesley Avatar asked May 18 '12 04:05

Wesley


People also ask

How can I enable the Mysqli extension in PHP 8?

If not an Ubuntu user then you can just rename php-prodcution. ini file to php. ini and enable the extension by removing semicolon in the php. ini file.

How do I know if Mysqli extension is installed?

Check if MySQLi is Installed You can do that by visiting a phpinfo() page that you made, or by running this command: php -m | grep mysqli.

Does xampp has mysqli?

3-1, XAMPP 1.8. 2-2, XAMPP 1.8. 1. Because these xampp versions also support Mysqli by default.


1 Answers

  1. Find out which php.ini is used.
  2. In file php.ini this line:

    extension=mysqli
    
  3. Replace by:

    extension="C:\php\ext\php_mysqli.dll"
    
  4. Restart apache
like image 186
AAGREDA Avatar answered Sep 29 '22 07:09

AAGREDA