nrk / phpiredis

PHP extension for Redis based on Hiredis
BSD 2-Clause "Simplified" License
490 stars 67 forks source link

changed all commands from redisReplyReader to redisReader #65

Closed gearhead closed 3 years ago

gearhead commented 4 years ago

I was reading through the hiredis documents and see that the main change to 0.14.0 from 0.13.3 is that some commands were changed from redisReplyReader to redisReader. I made this simple change to the *.c file, compiled it for armv7h, installed hiredis 0.14.0, installed the compiled php-phpiredis-git and now it works. I was reading through the docs for the upcoming updates and do not think I know enough to adapt this to the upcoming hiredis 1.0.0 as there are more changes that I do not fully understand, so I may not be able to help on the next update, but for now, this seems to work. https://github.com/redis/hiredis/blob/master/CHANGELOG.md

nrk commented 3 years ago

Merged into v1.1 branch. As for v1.0, it will remain stuck to Hiredis <= 0.14. Thank you!