XAMPP“模块‘mysqli’”已经加载”错误?
如果 XAMPP 配置正确并且运行正常,就能够访问 phpmyadmin 并在本地服务器上执行 php 代码。今天早上启动 XAMPP 并启动 Apache 后,我收到一条消息:“模块‘mysqli’已加载。”
我无法登录 phpmyadmin - 我看到登录页面,但是当我单击“开始”时,我只是得到一个空白页面。我正在练习将表单提交到数据库中,一切正常,现在提交表单后返回一条消息:“连接失败:(2002)连接尝试失败,因为连接方在一段时间后没有正确响应,或建立的连接失败,因为连接的主机无法响应”
XAMPP 状态页面显示一切都已激活。我不记得做过任何配置更改或执行任何其他可能导致此问题的操作。
感谢任何输入。
Had XAMPP configured and running properly, was able to access phpmyadmin and execute php code on the local server. This morning after starting XAMPP and starting Apache, I get a message saying: "module 'mysqli' already loaded."
I can't log into phpmyadmin- I see the login page, but when I click "go" I simply get a blank page. I was practicing submitting forms into a DB, everything was working fine, now after submitting the form a message comes back: "connect failed with: (2002) A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. "
The XAMPP status page shows everything as being activated. I don't remember making any config changes or doing anything else that could have caused this.
Appreciate any input.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我通过编辑 php.ini 并将这些行注释掉来修复此问题:
并在其位置键入此行:
工作完美。
I fixed this by editing my php.ini and commenting these lines back out:
and typing in this line in their place:
Worked perfectly.
禁用或注释
php.ini
中重复的extension=mysqli
disable or comment duplicate
extension=mysqli
in yourphp.ini
打开您的
php.ini
文件并注释掉下面的重复行Open your
php.ini
file and comment out the duplicate line below