在webman中使用redis,設(shè)置options,set_options(Redis::OPT_SERIALIZER, Redis::SERIALIZER_PHP),顯示錯誤
public static function get_local_redis_connection()
{
$redis = Redis::connection(ServerInfoManager::redisservername);
$redis->set_option(Redis::OPT_SERIALIZER, Redis::SERIALIZER_PHP);
return $redis;
}