Failed to save data at the server from memcached program

Posted by zahir hussain on Stack Overflow See other posts from Stack Overflow or by zahir hussain
Published on 2010-05-13T14:20:03Z Indexed on 2010/05/13 14:24 UTC
Read the original article Hit count: 275

Filed under:
|

hi i want to know why i cant store multi dimensional(array size is more than 1000)

$memcache = new Memcache;

$memcache->connect('localhost', 11211) or die ("Could not connect");

the above s working correctly...

the below one have error...

   $memcache->set('key', $sear, false, 60) or die ("Failed to save data at the server");

   if the $sear is string or object array then no problem for store data at the server..

  but i store multi dimensional array in memcached,,i will get the error is 

    Failed to save data at the server

thanks and advance

© Stack Overflow or respective owner

Related posts about php

Related posts about memcached