1.

How To Check That Redis Server Is Running?

Answer»

TRY

{

$REDIS = Redis::instance();

}

Catch (RedisException $E)

{

//here error will COME

}

Try

{

$redis = Redis::instance();

}

Catch (RedisException $e)

{

//here error will come

}



Discussion

No Comment Found