缺少 mysqli 扩展。请检查您的 PHP 配置,Windows 7

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/35099523/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-26 00:20:50  来源:igfitidea点击:

The mysqli extension is missing. Please check your PHP configuration, Windows 7

phpwindowsapachephpmyadmin

提问by Kubensis

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

我在 PHP 7.0.3 中使用 apache24。请求http://localhost/phpmyadmin/ 时出现此错误:

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

缺少 mysqli 扩展。请检查您的 PHP 配置。有关更多信息,请参阅我们的文档。

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.

我的 PHP 配置没有关于 slqi 的任何注释。
我已经查看了其他一千种解决方案,其中大多数是针对 linux 的,我不知道如何针对 windows 执行此操作。

采纳答案by AddWeb Solution Pvt Ltd

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

请确保extension=mysqli.dll没有在 php.ini 中注释掉。

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

还要确保mysqli.dll您的 php 安装的扩展文件夹中存在这些文件。