php save session to redis

/etc/php/7.4/fpm/pool.d/user.conf
php_admin_value[session.save_handler] = redis
php_admin_value[session.save_path] = "tcp://127.0.0.1:6379?persistent=1&weight=1&database=2"

Leave a Reply

Your email address will not be published. Required fields are marked *