Redis

djcart

Verified User
Joined
Jun 29, 2021
Messages
122
When enabled for the redis client, does it serve one of the websites for it or can it also run it for the other website from this socket?
 
Might be a problem for others too, but I don't understand your question. Redis comes configured for 16 databases, but more if you have enough memory.
 
When you enable redis for a user in DA, it creates a socket for each user /home/*/.redis/redis.sock

Any website under that user can use it. Just need to make sure you don't have any collisions of names/values.
 
it should fine with database(number), just use "select" option, like...
$redis->select(1);

it will select database (1).
 
Back
Top