您的位置:首页 > 数据库 > Redis

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

2014-03-23 13:05 344 查看
一直用的好好的,某天突然只有页面基本框架,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'); //解除内存限制

问题解决。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐