Php 无法从memcached程序在服务器上保存数据
嗨,我想知道为什么我不能存储多维数据(数组大小超过1000) 以上各项工作正常 下面的一个有错误Php 无法从memcached程序在服务器上保存数据,php,memcached,Php,Memcached,嗨,我想知道为什么我不能存储多维数据(数组大小超过1000) 以上各项工作正常 下面的一个有错误 $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 mult
$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
感谢并前进您试图存储的阵列可能太大。Memcache对单个项目的大小有限制。每个项目的最大大小为1048576字节或1MB 这里是关于这个问题的另一个线程
$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