PHPMyAdmin Windows XAMPP Missing MySQL Extension Issue(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 扩展问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:PHPMyAdmin Windows XAMPP 缺少 MySQL 扩展问题
基础教程推荐
- 在 SQL 中连接多个表 2021-01-01
- 需要 MySQL 5.1 中的抽象触发器来更新审计日志 2021-01-01
- 无法解决整理冲突 2021-01-01
- SQL Server 实例在登录协商期间返回无效或不受支持的协议版本 2021-01-01
- SSMS 中的权限问题:“对象 'extended_properties'、数据库 'mssqlsystem_resource'、... 错误 229)上的 SELECT 权限被拒绝" 2022-01-01
- 如何使用 mysql.connector 禁用查询缓存 2022-01-01
- 将 SQL Server DateTime 列迁移到 DateTimeOffset 2021-01-01
- SQL 效率:WHERE IN 子查询 vs. JOIN 然后 GROUP 2021-01-01
- SQL:使用来自具有相同列名的两个表中的数据... 2021-01-01
- 是否可以执行按位分组功能? 2021-01-01
