skip to Main Content

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

3

Answers


  1. Chosen as BEST ANSWER

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


  2. Solution in my case was:

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

    Login or Signup to reply.
  3. For ubuntu

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

    then

    sudo systemctl restart php7.2-fpm
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search