What can I use to replace PHP sessions sharing via memcache

196 Views Asked by At

I am looking for sharing my PHP sessions so the easiest solution is to use memcache. But I need something more secure, because memcache doesn't have failover, clusterisation, persistence …

I thought about Redis, but it doesn't have a PHP module that handle it, so no session_handler

So basically, I need something to manage the sessions in a centralized way and relatively secure. And my research on the internet aren't very fructuous.

1

There are 1 best solutions below

0
On

I thought about Redis, but it doesn't have a PHP module that handle it, so no session_handler

Check phpredis, it provides a session handler for redis, and as for security I don't think you need to configure some sort of authentication, you can somehow make the server only accept the IP's of the application servers.