WAMPSERVER php_memcache 扩展
我有 php_memcache.dll
的副本(来自 php_memcache-2.2.6-5.3-nts -vc9-x86.zip),我已将其放置在我的 C:\wamp\bin\php\php5.3.5\ext
文件夹中。
在 WAMP 中,我可以在扩展列表中看到 php_memcache,但是每当我启动扩展时,我都会收到以下警告:
PHP 启动:无法加载动态 图书馆 'C:/wamp/bin/php/php5.3.5/ext/php_memcache.dll' - 找不到指定的模块。
对于我可以打开或关闭的任何其他扩展,这种情况不会发生。
已尝试将 php_memcache.dll
移动到 C:\windows\system32
但没有任何区别。
有什么想法吗?
I have a copy of php_memcache.dll
(from php_memcache-2.2.6-5.3-nts-vc9-x86.zip) which I have placed in my C:\wamp\bin\php\php5.3.5\ext
folder.
In WAMP I can see php_memcache
in my extensions list, however whenever I start the extension I get the following warning:
PHP Startup: Unable to load dynamic
library
'C:/wamp/bin/php/php5.3.5/ext/php_memcache.dll'
- The specified module could not be found.
This does not happen for any other extension that I can turn on or off.
Have tried moving php_memcache.dll
to C:\windows\system32
but makes no difference.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您的扩展可能不适合 wampserver 的编译模式。
它是用 vc9 (Visual 2008) 编译的并且支持非线程安全吗?
我的wampserver(最新可用)是用VC6 TS编译的。
要了解此信息,请在线检查 phpinfo():
Your extension probably not fit the compilation mode of wampserver.
Is it compiled with vc9 (visual 2008) and a non threads safe support ?
My wampserver (latest available) is compiled in VC6 TS.
To know this info check phpinfo() on line :
我建议尝试其他版本的 dll。
2.2.5.0 适用于我使用 WAMP。
I'd suggest trying other versions of the dll.
2.2.5.0 works for me using WAMP.
VC9 版本是唯一受支持的版本。不再支持 VC6(Apache 用作方便构建)。
最新的 PHP 版本(和 PELC 扩展)仅作为 VC9 版本提供。 Xamp 已经将他们的套件迁移到 VC9,其他人也已经这么做了。您也可以使用 apachelounge.com 构建自行完成,我们建议将其与 PHP 二进制文件一起使用。
The VC9 builds are the only supported builds. VC6 (which is used as convenience builds by Apache) is not supported anymore.
Latest PHP version (and PELC extensions) are only available as VC9 builds. Xamp are already moving their suite to VC9, other already did. You can also do it yourself using apachelounge.com builds, which are the ones we recommend to use with PHP Binaries.