我在ubuntu14.01下用gateway调用redis,总是发生一些奇怪的问题
图一是在php中读取redis的结果,图二是在redis中的结果
而且经常会报 'RedisException' with我直接调用$redis->connect(),则不会发生这些问题
,源代码如下:
```php
<?php
use \GatewayWorker\Lib\Gateway ;
use \GatewayWorker\Lib\Store ;
class Event
{
public static
这样会不会也现不同的应用之间数据共享了?Warning: stream_socket_client(): unable to connect to tcp://127.0.0.1:1236 (Connection refused) in /home/GatewayWorker/GatewayWorker/Lib/Gateway.php on line 603