Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Memcache on windows, error php5.dll not found

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?

like image 448
dfilkovi Avatar asked Feb 21 '10 14:02

dfilkovi


1 Answers

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.

like image 96
kibemau Avatar answered Oct 15 '22 04:10

kibemau