Active18 days ago
The mysqli extension is missing. Please check your PHP configuration, Windows 7. Installation on Windows Systems. On Windows, PHP is most commonly installed using the binary installer. PHP 5.3.0 and newer. On Windows, for PHP versions 5.3 and newer. Extension=php_mysqli.dll the installer added those lines to the end of the file. Jan 29, 2015 Its high time to shift from MySQL extension to MySQLi Extension. Make your database more secure. Tutorial:Learning MySQLi extension in PHP. MySql and PHP on Windows 10 - Duration. Its high time to shift from MySQL extension to MySQLi Extension. Make your database more secure. Tutorial:Learning MySQLi extension in PHP. MySql and PHP on Windows 10 - Duration. As with enabling any PHP extension (such as php_mysqli.dll), the PHP directive extension_dir should be set to the directory where the PHP extensions are located.
I have installed PHP 7, MySQL 5.5.47 on Ubuntu 14.04.I have checked installed extension using : Hp laserjet p1007 printer drivers for windows 8.
Its output me:
I am not able to see MySQLi extension using phpinfo() as well,please let me know,how can I enable/install MySQLi extension in PHP 7.That's why I cannot use phpmyadmin, its says 'The mysqli extension is missing.'
Note: I am new in php7.
Mohd SayeedMohd Sayeed90111 gold badge88 silver badges2222 bronze badges
6 Answers
The problem is that the package that used to connect PHP to MYSQL is depricated (php5-mysql). If you install the new package:
This will automatically update apache and php7.
Cheers!
New Mysqli Php
XenoXeno1,19033 gold badges99 silver badges77 bronze badges
I got the solution,I am able to enable MySQLi extension in php.ini, just uncommented this line in php.ini
Now MySQLi working well.Here is php.ini file path in apache2,PHP 7, Ubuntu 14.04 environment:
By Default MySQLi extension is disable in PHP 7.
Mohd SayeedMohd Sayeed90111 gold badge88 silver badges2222 bronze badges
phpenmod moduleName
enables a module to php7 (restart apache after thatsudo service apache2 restart
)phpdismod moduleName
disables a module to php7 (restart apache after thatsudo service apache2 restart
)php -m
lists the loaded modules
PipoPipo
In ubuntu need to uncommented this line in php.ini which is located at /etc/php/7.0/apache2/php.ini
extension=php_mysqli.so
Atul PandyaAtul Pandya
On ubuntu,
When mysqli is missingexecute the following,
replace
7.x
with your PHP version.note: This could be 7.0 and up, but for example Drupal recommends 'php7.2' on grounds of security a.o.
To check your php version, on the command-line type:
You do exactly the same if you are missing mbstring
I recently had to do this for PHPmyadmin when upgrading php from 7.0 to 7.2on Ubuntu 16.04 .
Marco SchoolenbergMarco Schoolenberg
Let's use
mysqli_connect
instead of
mysql_connect
because
Tiago Martins Peresmysql_connect
isn't supported in php7.2,50977 gold badges2121 silver badges4040 bronze badges
Kratos.vnKratos.vn
protected by Community♦Nov 29 '17 at 10:16
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Would you like to answer one of these unanswered questions instead?
Not the answer you're looking for? Browse other questions tagged phpmysqlmysqliphp-7 or ask your own question.
Active3 years, 7 months ago
I'm using apache24 with PHP 7.0.3. When requesting http://localhost/phpmyadmin/ I get this error:
The mysqli extension is missing. Please check your PHP configuration. See our documentation for more information.
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é VogtI've looked at the thousand other solutions, and most are for linux and I don't know how to do it for windows.
35.4k1313 gold badges5151 silver badges7272 bronze badges
Php 7 Mysql Extension
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
1 Answer
Please make sure the
extension=mysqli.dll
isn't commented out into php.ini.Also make sure that you have the
mysqli.dll
files exist inside the extensions folder of your php installation.Mysqli Extension Is Missing
AddWeb Solution Pvt LtdAddWeb Solution Pvt Ltd15.1k11 gold badge1919 silver badges4242 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.