I am using Laravel Version: 7.5 , PHP VERSION: 7.4.8, SERVER: APACHE (XAMPP), PACKAGE: Redis, OS: Windows 10.
I have install Redis in my system and I am able to run redis-server successfully but when I use this in Laravel for broadcasting it will throw error which is as follows "Please make sure the PHP Redis extension is installed and enabled".
Please find attached screenshot about error.
2
Answers
I have found the answer add the key in
.env
file which is as follows:REDIS_CLIENT=predis
Have you installed redis?
https://redis.io/download
what are your environment variable settings? For Redis:
and are you using laravel echo server? what are your laravel-echo-server setting?
have you started your echo-server and queue? Use the following
also install predis/predis