PHPMyAdmin Windows XAMPP缺少MySQL扩展问题 [英] PHPMyAdmin Windows XAMPP Missing MySQL Extension Issue

查看:431
本文介绍了PHPMyAdmin Windows XAMPP缺少MySQL扩展问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试手动安装Apache,PHP,MySQL和PHPMyAdmin并收到错误消息.然后尝试使用XAMPP,但仍然使用PHPMyAdmin报错此错误:

I've tried install Apache, PHP, MySQL, and PHPMyAdmin manually and got the error. Then tried XAMPP and still got the error this error with PHPMyAdmin:

The mysql extension is missing. Please check your PHP configuration. <a href="Documentation.html#faqmysql" target="documentation"><img class="icon" src="./themes/pmahomme/img/b_help.png" width="11" height="11" alt="Documentation" title="Documentation" /></a>

我不知道问题是什么.我已经在网络上尝试了解决方案,但到目前为止都没有任何解决方案.这是Windows的新安装,我在C:上安装了XAMPP.

I'm clueless of what the issue is. I've tried solutions on the web and none worked so far. This is a new Windows installation and I installed XAMPP on C:.

推荐答案

完全简单的修复.找到您的PHP.ini文件,其中将包含扩展名列表.寻找一个说mysql的代码,然后将;从该行的开头删除.

Fairly simple fix. Find your PHP.ini file, and in it there will be a list of extensions. Look for the one that says mysql and take the ; off the front of the line.

;extension=php_mysql.dll
;extension=php_mysqli.dll
;extension=php_pdo_mysql.dll

如果您不知道PHP.ini文件所在的位置,则可以将此代码放在脚本中以查找:

If you don't know where your PHP.ini file resides, you can put this code in a script to find out:

phpinfo()

这篇关于PHPMyAdmin Windows XAMPP缺少MySQL扩展问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆