How to use redis? |
Hi,
i have a redis server running. In Config/Cache.php i set the handler to redis and set the credentials + the right host. I installed predis via composer. The cache is not working, because the cache item is always empty. What else i have to do in order to get it to work?
(10-31-2022, 12:27 AM)InsiteFX Wrote: This is for CodeIgniter 3 but should be easy to transfer over to CodeIgniter 4 This is all from the documentation of CI4 (https://codeigniter.com/user_guide/libra...ching.html) Now the connection is working. CI4 itself gives no exception if the connection fails. |
Welcome Guest, Not a member yet? Register Sign In |