Want to get involved in developing SMF, then why not lend a hand on our github!
Started by danielrichter, April 30, 2022, 06:52:35 AM
Quote from: Arantor on April 30, 2022, 10:58:25 AMAs I told you before if you turn off DB sessions and tell PHP itself to point at Redis (or memcache) in PHP's ini file it'll work just fine that way.
session.save_handler = redis;session.save_handler = filessession.save_path = "tcp://127.0.0.1:6379";session.save_path = "/var/lib/php/sessions"
Quoteroot@workstation:~# redis-cli 127.0.0.1:6379> keys *1) "PHPREDIS_SESSION:5cg7effra7ftku3nalv4oh5lcg"
Quote127.0.0.1:6379> flushallOK127.0.0.1:6379> keys *(empty list or set)
Quote127.0.0.1:6379> keys *3) "PHPREDIS_SESSION:5cg7effra7ftku3nalv4oh5lcg"