How to connect with memcache using php

by Prakash 2013-01-19 11:47:42

How to connect with memcache
using php ?


$memcache_comm_obj = new Memcache;
$memcache_comm_obj->connect('127.0.0.1',11211) or die ("Could not connect");

You can use this object in furthr memcache
operations.

Tagged in:

1002
like
0
dislike
0
mail
flag

You must LOGIN to add comments