Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
993 views
in Q2A Core by

Hi there,

I config redis, and change session.save_handler form file to redis in php.ini

but get this error in error log:

"PHP message: PHP Warning:  session_start(): Cannot find save handler 'redis' - session startup  failed in  XX/qa-include/app/users.php on line 162

when comment  line 162  in qa-include/app/users.php this problem solve!

This action is ok?

line 161 and 162 in qa-include/app/users.php 

              if (!isset($_SESSION))

                      session_start();

https://github.com/q2a/question2answer/blob/dev/qa-include/app/users.php

Q2A version: 1.8.2
by
Have you tried logging in with that line commented?
by
yes,  and I can login
by
edited by
many users cannot login, and I uncomment line 162. and users can login after that.
how config q2a for support session.save_handler = redis?
thank you

Please log in or register to answer this question.

...