WAMPSERVER php_memcache扩展 [英] WAMPSERVER php_memcache extension
问题描述
我有一个php_memcache.dll
的副本(来自 php_memcache-2.2.6-5.3-nts-vc9-x86 .zip )放在我的C:\wamp\bin\php\php5.3.5\ext
文件夹中.
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.
在WAMP中,我可以在扩展名列表中看到php_memcache
,但是,每当我启动扩展名时,都会收到以下警告:
In WAMP I can see php_memcache
in my extensions list, however whenever I start the extension I get the following warning:
PHP启动:无法动态加载 图书馆 'C:/wamp/bin/php/php5.3.5/ext/php_memcache.dll' -找不到指定的模块.
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.
曾尝试将php_memcache.dll
移至C:\windows\system32
,但没有区别.
Have tried moving php_memcache.dll
to C:\windows\system32
but makes no difference.
有什么想法吗?
推荐答案
您的扩展名可能不适合wampserver的编译模式. 是否使用vc9(Visual 2008)和非线程安全支持进行编译?
Your extension probably not fit the compilation mode of wampserver. Is it compiled with vc9 (visual 2008) and a non threads safe support ?
我的wampserver(最新可用)是在VC6 TS中编译的. 要了解此信息,请在以下行中检查phpinfo():
My wampserver (latest available) is compiled in VC6 TS. To know this info check phpinfo() on line :
- 编译器
- 线程安全
这篇关于WAMPSERVER php_memcache扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!