Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.3k views
in Technique[技术] by (71.8m points)

php - WAMPSERVER php_memcache extension

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:wampinphpphp5.3.5ext 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:windowssystem32 but makes no difference.

Any ideas?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...