We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Redis adaptor issues

So far I have got Redis to work for cache - kind of, and not for sessions. The problem seems to be that $this->cache->delete($key); does not work. The cache keys are never actually deleted. $keys = $this->cache->queryKeys(); gives me a list of keys when I var_dump (without PHCR prefix). Doing var_dump($this->cache->delete($key)); gives me int(0). The same issue seems to be making it unusable for sessions too at the moment. Any idea what is going on?


how do you have it configure on your DI?