2018-11-15 22:39
浏览 94


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?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • dongpo2458
    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

    点赞 评论