Welcome Guest, Not a member yet? Register   Sign In
Using cache Redis questions
#1

(This post was last modified: 07-03-2020, 12:02 PM by MatheusCastro.)

Hello,
I have my redis server using docker.

I found the installation of phpredis a bit confusing to be honest, I couldn't even implement it.

At Codeigniter I saw that have an implementation of PredisHandler, but I didn't see anything in the documentation. Perhaps because the author no longer updates the project even though it is "stable".

Is PredisHandler recommended? Or would the best alternative be phpredis?

Do you know any place that has a more readable implementation of phpredis?

The implementation works perfectly when using Predis.
Reply
#2

Hi, never used Docker myself so can't say how hard it's to install phpredis. I just use plain old Ubuntu for everything.
Code:
sudo apt-get install php-redis

There are updates being made everyday to framework, you can help if you want. Read more about how you can contribute here. Predis part of the user guide and phpunit tests have only made it to the development version, and will be available to the general public in the next release.

phpredis are the best, no question about it. It's a C-implementation, not build on PHP. Are you sure your extension got loaded in? Did you try a phpinfo() and see that's actually there.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB