Php Mysqli Extension Is Missing Windows Drivers
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.
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
1 Answer
Please make sure the extension=mysqli.dll
isn't commented out into php.ini.
• 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.
Not the answer you're looking for? Browse other questions tagged phpwindowsapachephpmyadmin or ask your own question.
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?
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.
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.
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.php
file 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