CodeIgniter Forums

Full Version: Redis Session not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys, 

I would like to report that Redis session is not working with the latest redis extension ver. 5.x .
The last version that i have it working with is version 4.3.0 , to install it write "pecl install redis-4.3.0" instead of plain "pecl install redis".
We need to have the driver updated to have it work with ver. 5.x and above.

Thanks.
(08-27-2019, 04:30 PM)nourmansur Wrote: [ -> ]Hey guys, 

I would like to report that Redis session is not working with the latest redis extension ver. 5.x .
The last version that i have it working with is version 4.3.0 , to install it write "pecl install redis-4.3.0" instead of plain "pecl install redis".
We need to have the driver updated to have it work with ver. 5.x and above.

Thanks.

Hi nourmansur,

you can check on github the driver was corrected.

You can try with an override like this:

application / libraries / Session / drivers / Session_redis_driver.php

I was check and it's working well with extension php-redis 5.x and don't have any errors messages about the timeout and the session handler.


Regards,