Php Mysqli Extension Is Missing Windows Root

Posted on by

I've got some problems with the following error: 'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.' I've been searching. Enable the extension(s) in php.ini you want to use by uncommenting the extension=php_*.dll lines in php.ini. This is done by deleting the leading; from the extension you want to load. This is done by deleting the leading; from the extension you want to load.

Viewed 4k times

(THIS IS THE INTERESTING PART) search for php-mysqlnd from the top search field, it may find a couple but don't be fooled if you see one is already installed, shoose the others depending on your php versions in my case I selected all available 4 of them including this one ea-php71-php-mysqlnd.

This question already has an answer here:

  • mysqli not working in xampp windows 4 answers
  • Apache 2.4 with PHP 5.4: no mysql available 1 answer
  • PHP 7.1.x - mysqli_connect Isn't Defined (Extension is turned on) 1 answer

This is NOT a duplicate question, as I stated..I've already tryed solutions found here on Stack overflow. Most of the questions related to older versions of XAMPP and none of the solutions worked. Hence the reason I posted this.it's a newer version of XAMPP and pretty much everything the solutions suggest are already live in the config files. So no, this is NOT a duplicate.

Okay, I've tired asking this on the Apache Friends Forum and got no response on how to fix it. I've also tired solutions that I've found here, none have worked. I have XAMPP for Windows v7.1.6, a fresh install on a new machine. I've checked my php.ini file and the mysqli.dll file is correctly listed and not commented out. I have started the MySQL server and attempted to access phpMyAdmin via localhost/phpmyadmin and I get the error message:

The mysqli extension is missing. Please check your PHP configuration. See our documentation for more information.

I'm trying to get this up so I can continue a project I'm working on but can't seem to get phpMyAdmin to work at all. Any help anyone can provide would be wonderful. If you want to see my full php.ini file, in the even that maybe I missed something, I'd be happy to paste that in here as well.

Thanks in advance for everyone's help!

Kevin Lupo
Kevin LupoKevin Lupo

marked as duplicate by Jay Blanchard phpJul 11 '17 at 14:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.

Browse other questions tagged phpmysqlphpmyadminxampp or ask your own question.

Active10 months ago

I have a problem with phpmyadmin on ubuntu 16.04 after upgrading php 5.6 to php 7 by this way:

after this command :

phpMyadmin has error :

ESXi 5.1 Offline Bundle Contains VIB packages, and image profiles for ESXi, including VMware Tools. Use the image profiles and the VIB packages with VMware Image Builder and VMware Auto Deploy to create custom image/ISO generation for ESXi deployments. Download VMware vSphere. Run fewer servers and reduce capital and operating costs using VMware vSphere to build a cloud computing infrastructure. VMware Cloud on AWS helps ACI manage its global solutions and infrastructure at a much faster rate. Watch the Video. Improving Credit Card Services. Krungthai leverages VMware SDDC and Workspace ONE to offer digital banking and faster customer service. Watch the Video. Vmware 5.1 download hp. Feb 09, 2011  Hi I am trying to P2V a HP Proliant DL380 G4 with Linux Red Hat 5.1. I did a basic cold migration and found I was getting kernel panics. Looking through the errors this is because the cold migration doesn’t. VMware Take advantage of virtualization and cloud through infrastructure as a service (IaaS). You can count on HPE and VMware to deliver the high infrastructure service levels, flexibility, and reliability you need to power your business-critical workloads.

The mysqli extension is missing. Please check your PHP configuration.

But it does not have error on php5.

I want use phpMyadmin on php7.

Can anyone help me?

sj59
sj59sj59
1,1552 gold badges14 silver badges21 bronze badges

4 Answers

You need to do following steps.

Check your php version and run following command.

In my case my version of php is 5.6, you may have different. Replace your version and hit enter.

After installing just run

sudo service apache2 restart

Install Mysqli Extension

Hope it will help

NeerajNeeraj

You first need to install php7 , then install php5.

Mail

  1. Completely remove your php and phpmyadmin : sudo dpkg -P phpmyadminsudo rm -f /etc/apache2/conf.d/phpmyadmin.confsudo service apache2 restartsudo apt-get purge php.*sudo service apache2 restart

  2. Install php7 and php7.0-mysql and .. : https://askubuntu.com/a/705893/424146

  3. Install phpmyadmin (on php7) : install phpmyadmin with lamp stack on ubuntu 16.04
  4. Run these commands again to install php5.6 beside your php7:

Install php5.6 beside php7 : (I got help from this link)

Switch PHP version:

From php5.6 to php7.0 :

From php7.0 to php5.6 :

Community
sj59sj59
1,1552 gold badges14 silver badges21 bronze badges

Reinstall or Reconfigure PHPMyAdmin. The following worked for me:

dpkg-reconfigure phpmyadmin

ChiwdaChiwda
4003 gold badges15 silver badges35 bronze badges

Php Mysqli Extension Is Missing Windows Root System32

Solution for Windows PC

Try to check to check your httpd-xampp config file.

Make sure the Make sure the Php-Module conform with your current php version.

Mysql Php Extension Missing

example here: IfModule php5_module

Based on your migration you are using php7, so edit all the php5_module tag in your config file to php7_module and restart the apache server.

Ebenezer OyekuEbenezer Oyeku

Mysqli Extension Is Missing

Not the answer you're looking for? Browse other questions tagged phpmysqliphpmyadminphp-7 or ask your own question.