dtid30526 2018-11-15 22:39
浏览 162
已采纳

Wamp和Xampp“您的PHP安装似乎缺少WordPress所需的MySQL扩展。”[重复]

I'm trying to run Wordpress locally on Windows.

I've tried with both Xampp and Wamp and get the same error message every time I try to access my site: "Your PHP installation appears to be missing the MySQL extension which is required by WordPress."

I've tried many solutions from the web, none of them work. The two most common are:

  • uncomment "extension=php_mysqli.dll" in php.ini: that line was not even present in xampp or wamp, I added it but no change.
  • make sure extension_dir="C:\xampp\php\ext" is set up correctly in php.ini : I made sure of that and no luck.

What can I try now?

</div>
  • 写回答

1条回答 默认 最新

  • dongpo2458 2018-11-15 22:42
    关注

    OK I just found a solution that works for me: in wamp, click on the icon -> php -> version -> 5.6

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 (标签-matlab)
  • ¥15 Marscode IDE 如何预览新建的 HTML 文件
  • ¥15 K8S部署二进制集群过程中calico一直报错
  • ¥15 java python或者任何一种编程语言复刻一个网页
  • ¥20 如何通过代码传输视频到亚马逊平台
  • ¥15 php查询mysql数据库并显示至下拉列表中
  • ¥15 freertos下使用外部中断失效
  • ¥15 输入的char字符转为int类型,不是对应的ascall码,如何才能使之转换为对应ascall码?或者使输入的char字符可以正常与其他字符比较?
  • ¥15 devserver配置完 启动服务 无法访问static上的资源
  • ¥15 解决websocket跟c#客户端通信