在webman中使用redis,设置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;
}