PHP安装似乎缺少这是需要由Word preSS的Windows Server 2008 R2上的MySQL扩展 [英] Your PHP installation appears to be missing the MySQL extension which is required by WordPress on Windows Server 2008 R2

查看:446
本文介绍了PHP安装似乎缺少这是需要由Word preSS的Windows Server 2008 R2上的MySQL扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在已安装的Apache Web服务器2.4在Windows Server 2008 R2上远程启动字preSS(我的工作WAMP)和端口号不是80就是8888(听说这个词preSS不会在端口8888上运行,也许我是错的)。当我启动它throgh浏览器中我得到这个消息您的PHP安装似乎缺少这是由Word preSS必须的MySQL拓展。 WAMP已经在mysql它打造专业化,但Apache Web服务器2.4没有,我查了php.ini中激活php_mysql.dll,是注释掉,我问在命令提示符mysql和是fine.Any建议,如何解决这个问题?

I'm trying to start wordpress remotely on a windows server 2008 R2 that has installed Apache web server 2.4 (i worked on wamp) and the port number is not 80 is 8888 (I heard that wordpress doesn't run on port 8888 maybe I'm wrong).When i start it throgh the browser i get this message "Your PHP installation appears to be missing the MySQL extension which is required by WordPress.".Wamp has mysql buid in it but apache web server 2.4 doesn't, I checked the php_mysql.dll on php.ini and was uncommented, i queried mysql on command prompt and was fine.Any suggestions how to fix this problem?

推荐答案

我曾在一个窗口这样一个问题,安装和则下跌了这一点。

I had an issue like this on a windows install and it was down to this.

如果您还没有注释去掉,你php.ini中的extension_dir中,它不会默认为'分机'目录(这是所有扩展DLL是在Windows上)。

If you don't have the extension_dir uncommented on you php.ini, it wont default to the 'ext' directory (which is where all extension dlls are on windows).

因此​​,即使未注释的扩展都被忽略(你不会看到他们对你的phpinfo())
http://php.net/manual/en/install.windows.extensions.php

Therefore, even uncommented extensions are ignored (and you wont see them on your phpinfo()) http://php.net/manual/en/install.windows.extensions.php

这篇关于PHP安装似乎缺少这是需要由Word preSS的Windows Server 2008 R2上的MySQL扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆