Click to See Complete Forum and Search --> : Memcache Extension w/ Zend will not work!


asmo309
02-12-2008, 06:34 PM
So I'm trying to get the memcache ext running on Zend Studio. I can't for the life of me figure this out. I added extension=php_memcache.dll to Zend's php.ini. I cannot create a Memcache object (class does not exist), and I can't use the functions memcache_connect (function does not exist).

I have the php_memcache.dll in my zend ext folder... along with others that do work. I even tried adding to to the system32 folder. Verified I was modifying the correct .ini file w/ output from phpinfo();

ZS 5.5.0
OS Windows XP
PHP v 5.2.00
php_memcache.dll 5.2.1.1

Any suggestions?

JojoTheBandit
02-14-2008, 06:42 AM
You have to start a memcache server on your computer...
Took me some time to figure it out :)
Just start the exe and while it's "up" memcache works

http://jehiah.cz/projects/memcached-win32/

asmo309
02-14-2008, 11:56 AM
The memcache server was started, I was able to use it when running the scripts from the command line. It turns out I had a slightly diff version of php running behind zend than my CLI installation. I had to get the 5.2.00 version of php_memcache.dll and all was well, thank for the feedback though.