开发者

Memcache on windows, error php5.dll not found

开发者 https://www.devze.com 2022-12-20 16:33 出处:网络
I use PHP 5.3.0 and after hours of searching found a php_memcache.dll that is compiled for that version, now as I start php it gives me an error

I use PHP 5.3.0 and after hours of searching found a php_memcache.dll that is compiled for that version, now as I start php it gives me an error

The program can't start because php5.dll is missing from your computer. Try reinstalling开发者_开发知识库 the program to fix the problem.

As I see it there is php5ts.dll in php folder, and I can't find php5.dll.

And as a result memcache does not start. How can I fix this?


Old question, but are you sure the php_memcache.dll you downloaded is a thread-safe/unsafe compatible with your PHP install?

Look in your PHP directory: if there's a "php5ts.dll" you have a thread-safe PHP, so you need a thread-safe "php_memcache.dll" too, and vice-versa.

I had the same problem, with a diferent php_.dll, and the error message about php5.dll confused the heck out of me for several hours too, but it was just a matter of downloading the right php_.dll.


  1. download php5.dll

  2. copy and paste to ""


Most likely your memcache_php.dll files needs php5.dll file to be able to work correctly.

I suppose it should be distributed as part of that memcache for PHP. Or you can google about php5.dll to know more about it.

0

精彩评论

暂无评论...
验证码 换一张
取 消