PHP Redis extension is installed and enabled in laravel 6 version
Asked Answered
L

3

6

When I am trying To installing redis in larvel 6 version I can not install redis and it extension it show me the error.enter image description here

Lagas answered 7/12, 2019 at 16:5 Comment(0)
L
11

By default In Laravel 6 'client' => env('REDIS_CLIENT', 'phpredis'), is not working but when i change this 'client' => env('REDIS_CLIENT', 'predis') .

Lagas answered 26/12, 2019 at 14:44 Comment(0)
M
7

For ubuntu

sudo apt-get install php7.2-redis //7.2 is php version

then

sudo systemctl restart php7.2-fpm
Metamorphose answered 29/5, 2020 at 5:25 Comment(0)
A
3

Solution in my case was:

My problem was that I had installed and working Redis but I hadn't the php extension.

Artemus answered 22/5, 2020 at 15:47 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.