WAMPSERVER php_memcache extension

淺唱寂寞╮ 提交于 2019-12-18 06:14:29

问题


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?


回答1:


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 :

  • Compiler
  • Thread safety



回答2:


I'd suggest trying other versions of the dll.

2.2.5.0 works for me using WAMP.




回答3:


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.



来源:https://stackoverflow.com/questions/4971063/wampserver-php-memcache-extension

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!