make phpredis support php7