-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Exception when set as session handler #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
+1 |
1 similar comment
+1 |
The port is set to 6379 if not specified.
The port was missing and was set to zero by default, I changed it to 6379 if it is not provided. Thanks! |
In my case I had some additional configs which were automatically created by Vagrant, I had to look for the file and comment out the duplicate session.save_path vars: After you commented out all the normal session vars and only have the redis ones, restart php: You should only really have these two in you're php.ini once done: And you can then see if redis is hit by running: |
I get the following error, when using phpredis as session handler:
However, whenever I use the extension in userland, it works just fine:
Result:
I'm currently on commit SHA: a5e53f1 of master.
Session related php.ini settings:
The text was updated successfully, but these errors were encountered: