Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

memcache fails to start

Tags:

php

memcached

I've been following several guides (mainly this one) on installing memcache on my WAMP stack - but I'm running into a problem which is odd because my work machine had little trouble doing the same.

When I restart Apache I see the following error in the log:

PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.10/ext/php_memcache.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0

I'm running Win7 64-bit, apache 2.2.21, PHP 5.3.10 and have downloaded php_memcache-2.2.6-5.3-vc9-x86 - I've tried the nts version too - but it too fails

memcached is installed as a service and currently running

like image 954
cloakedninjas Avatar asked Mar 04 '26 14:03

cloakedninjas


1 Answers

Found a copy of php_memcache.dll that worked finally. The only difference I can see is that it's a 64-bit version. I'm still unsure as to why this works though. My PHP install is 32-bit, myPHP_INT_SIZE is 4

If anyone else runs into this issue and needs the file, I uploaded it to http://www.sendspace.com/file/uq6srb

like image 166
cloakedninjas Avatar answered Mar 07 '26 05:03

cloakedninjas



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!