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

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 identifier of an instance of 类 was altered from xx to xx错误
  • ¥100 反编译微信小游戏求指导
  • ¥15 docker模式webrtc-streamer 无法播放公网rtsp
  • ¥15 学不会递归,理解不了汉诺塔参数变化
  • ¥15 基于图神经网络的COVID-19药物筛选研究
  • ¥30 软件自定义无线电该怎样使用
  • ¥15 R语言mediation包做中介分析,直接效应和间接效应都很小,为什么?
  • ¥15 Jenkins+k8s部署slave节点offline
  • ¥15 如何实现从tello无人机上获取实时传输的视频流,然后将获取的视频通过yolov5进行检测
  • ¥15 WPF使用Canvas绘制矢量图问题