Php Mysqli Extension Is Missing Windows Drivers

  1. Mysqli Php
  2. Enable Mysqli Extension
Active3 years, 7 months ago

I'm using apache24 with PHP 7.0.3. When requesting http://localhost/phpmyadmin/ I get this error:

  • 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.
  • In php.ini: extension=php_mysqli.dll is enable, without change extension_dir. PHP7 RC5 ZTS - Nonexistent php_mysqli.dll. Maybe PHP 7 removed the mysql and mysqli drivers all together.
  • The mysqli extension is missing. Please check your PHP configuration, Windows 7.

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

Install and Configure MySQL for PHP Applications on IIS 7.; 5 minutes to read Contributors. Install MySQL Server on Windows Server 2008 or Windows Server 2008 R2. Extension=php_mysqli.dll extension=php_mbstring.dll extension=php_mcrypt.dll.

My PHP config has nothing about slqi to uncomment.
I've looked at the thousand other solutions, and most are for linux and I don't know how to do it for windows.

René Vogt
35.4k13 gold badges51 silver badges72 bronze badges
KubensisKubensis

closed as off-topic by AbcAeffchen, greg-449, amdixon, EdChum, bpoissJan 30 '16 at 10:51

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • 'This question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers. This can often be avoided by identifying and closely inspecting the shortest program necessary to reproduce the problem before posting.' – greg-449, amdixon, EdChum, bpoiss
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

Please make sure the extension=mysqli.dll isn't commented out into php.ini.

Studio • 32bitWindows 95 • 32bitWindows 98 • 32bitWindows ME • Toshiba n/a • Printer The e-STUDIO28, e-STUDIO35 and e-STUDIO45 can use either the GL-1010 controller. • 32bitWindows 95 • 32bitWindows 98 • 32bitWindows ME • Toshiba n/a • Printer The e-STUDIO28, e-STUDIO35 and e-STUDIO45 can use either the GL-1010 controller. 2000-10-11 • Printer The e-STUDIO28, e-STUDIO35 and e-STUDIO45 can use either the GL-1010 controller. • 32bitWindows 95 • Toshiba n/a • Printer The e-STUDIO28, e-STUDIO35 and e-STUDIO45 can use either the GL-1010 controller. • 32bitWindows 95 • Toshiba n/a • Printer The e-STUDIO28, e-STUDIO35 and e-STUDIO45 can use either the GL-1010 controller.

Also make sure that you have the mysqli.dll files exist inside the extensions folder of your php installation.

Php Mysqli Extension Is Missing Windows DriversAddWeb Solution Pvt LtdAddWeb Solution Pvt Ltd
15.1k1 gold badge19 silver badges42 bronze badges
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

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

Active3 years, 9 months ago

I installed Apache, PHP 5.6 and MySQL 5.7 on a Windows server.

In php.ini, I enabled the following:

(And restarted Apache)

Mysqli Php

But when I try to use PDO in my php page, it still throws the error:

What do I have to do to get PDO installed?

Don Rhummy
Don RhummyDon Rhummy
11.4k23 gold badges97 silver badges195 bronze badges

2 Answers

The problem was the extension_dir directive did not work as a relative path. Changing from extension_dir='ext' to extension_dir='c:/phpinstall_path/ext' fixed the problem.

Don RhummyDon Rhummy
11.4k23 gold badges97 silver badges195 bronze badges

In my apache httpd.conf I have (note I have # as remmed out because it took me 1 hour at least). So I left it to show me how not to do it.

May 17, 2016  Download Stock Inventory Management for free. PHP Stock Inventory Management System - POS. A web-based application which will manage stock inventory so easily: Dashboard, Stock Management, Purchasing, Sales, Suppliers, Customers, Outstandings, and. Stock_management_system_php.zip

Extension

In the above folder (and seen below) I have these files:

And in that same folder, in the php.ini file I have the following block that are pdo-related, with the ones in force not remmed out with a ;

;extension=php_pdo_firebird.dllextension=php_pdo_mysql.dll;extension=php_pdo_oci.dllextension=php_pdo_odbc.dll;extension=php_pdo_pgsql.dll;extension=php_pdo_sqlite.dll

then I have a phpinfo_xyz.phpfile for testing purposes only (read: delete it when you are done) that contains

Restart apache, point to that file from a browser and notice the following blocks similar to the following three.

..

..

In the first PHP picture above from phpinfo(), it was the getting the path right in httpd.conf that took the longest. That is why I left in the wrong path attempts seen in this Answer.

So it wasn't until Loaded Configuration File showed up decent that it had a chance.

Good luck. It was not fun. Half the problem was there were like 2 or 4 options of which original download to perform. Sadly I think it took me 2 or 3 hours all together. But I am not as smart as the rest of you.

DrewDrew
22.7k9 gold badges34 silver badges64 bronze badges

Enable Mysqli Extension

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