我尝试手动安装Apache,PHP,MySQL和PHPMyAdmin并收到错误消息。然后尝试使用XAMPP,但仍然使用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。
最佳答案
非常简单的修复。找到您的PHP.ini文件,其中将包含扩展名列表。寻找一个说mysql的代码,然后将;
从该行的最前面删除。
;extension=php_mysql.dll
;extension=php_mysqli.dll
;extension=php_pdo_mysql.dll
如果您不知道PHP.ini文件位于何处,则可以将此代码放在脚本中以查找:
phpinfo()
关于mysql - PHPMyAdmin Windows XAMPP缺少MySQL扩展问题,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/6617288/