dfilkovi
dfilkovi

Reputation: 3091

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?

Upvotes: 6

Views: 10498

Answers (3)

  1. download php5.dll

  2. copy and paste to ""

Upvotes: -1

Sarfraz
Sarfraz

Reputation: 382806

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.

Upvotes: -4

kibemau
kibemau

Reputation: 146

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.

Upvotes: 13

Related Questions