Problem with mysql result

Jehiah Czebotar jehiah at gmail.com
Sun Jul 30 16:42:48 UTC 2006


On 7/30/06, Caveo Internet B.V. - Martin <martin at caveo.nl> wrote:
> ... but when trying this out it always
> gives me 'set failed' and i don't know why it fails.
>
>  Maybe you or anyone else has a suggestion ?
>
> $memcache = new Memcache;
> $memcache->connect('IP', 1211) or die ("Could not connect");

you are actually replacing 'IP' with an ip address like 127.0.0.1 right?

In addition you can start the memcached daemon in verbose mode and see
what it prints out to verify that your php script is getting a
connection.

$ memcached -vv -p 1211 -l 127.0.0.1


More information about the memcached mailing list