2015-08-25 17:22
浏览 218


So I've installed PHP v5.2.9 in order to run WordPress. When I go visit the domain, I get the following error:

"your php installation appears to be missing the mysql extension which is required by wordpress"

In my php.ini I have the following lines uncommented:


The extension_dir which I've double check that it actually exists is:


My php.ini is loaded from:


When I run <? phpinfo() ?> in my test.php file everything is just as you see it above with the only exception being, MySQL or MySQLi aren't listed. Under "Additional Modules" there is nothing loaded.

PHP not recognizing MySQL installation

I've read this post where the comments pretty much say the wrong php.ini file is being loaded/modified. This doesn't appear to be the case. I've editing the php.ini file located in the C:\WINDOWS\ directory. When I change the extension_dir and restart the server. the changes take affect. The only thing that doesn't seem to work is adding modules.

Just an FYI I'm running:

PHP 5.2.9

Windows Server 2003

IIS v6.0

And MySQL is in fact installed and works.

Thanks in advance for any help!

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

相关推荐 更多相似问题