phpredisadmin 莫名其妙错误,打开了无法显示任何数据

一直用的好好的,某天突然只有页面基本框架,redis数据看不到了。

 

查日志嘛...

 

PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 634 bytes) in /var/www/wan_redis_admin/predis/lib/Predis/Connection/StreamConnection.php on line 240......

 

解决方案:

1. 找到StreamConnection.php

2. 

namespace Predis\Connection;

use Predis\ResponseError;
use Predis\ResponseQueued;
use Predis\Command\CommandInterface;
use Predis\Iterator\MultiBulkResponseSimple;

在下面添加:   ini_set('memory_limit','-1'); //解除内存限制

 

问题解决。

 

posted @ 2014-03-23 13:05  群叔  阅读(1102)  评论(0编辑  收藏  举报