Question
How to configure Laravel 5.7 with Redis TLS (Using phpredis)
Hi
I’m using laravel 5.7 with phpredis (PHP 7.2), but I’m not able to get it to work with tls, I am trying to use it with digitalocean Redis managed database which only supports tls connections.
Any idea if tls even supported with laravel/phpredis?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Hi. Struggling from similar issue.
Got this using phpredis (latest version from pecl):
And this using predis:
Database config:
OS: Ubuntu 18.04
Laravel: 5.8.35