I am sorting my brains about this problem (it should be simple), but it seems that I cannot find a solution, so I hope one of you can help me. I am trying to save sessions using php memcache extension.
I run MAMP and installed the extension correctly (I think ... it appears when I do phpinfo), I start the daemon and can connect to it via php using something like this:
$memcache = new Memcache;
$memcache->connect('localhost', 11211) or die ("Could not connect");
So, I KNOW that php can communicate with the daemon. The problem is that I turn on memcache memory storage in php.ini and try to execute session_start (), it gives me the error message "Cannot find saved memcache handler". This is what is in my php.ini:
session.save_handler = memcache
session.save_path = "tcp://127.0.0.1:11211"
Any help would be much appreciated = (
Additional Information:
:
http://lullabot.com/articles/setup-memcached-mamp-sandbox-environment
OSX 1.6.4, .so