-
-
Notifications
You must be signed in to change notification settings - Fork 205
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
[laravel] Redis uses predis instead of php-redis and ignores all configured environment variables #289
Comments
@renepardon this seems related to #287 and updating |
@ankitpokhrel ok, if this helps would be nice. I'll keep the file cache for this time. But the env vars should be used instead of static configuration like 127.0.0.1? |
Correct, we need to get it from env if it is defined. Lines 8 to 12 in 101d828
|
Closing this as a duplicate of #287 |
@ankitpokhrel how I can pass the redis password? |
Describe the bug
Obviously the environment variables (see below) are ignored when Redis is used for caching:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
all works with php-redis extension instead of predis ;)
Additional context
server singleton:
my versions:
.env:
stacktrace:
The text was updated successfully, but these errors were encountered: