Have you changed the client in config/database.php?
The default since Laravel 6 is phpredis, so if you are using predis/predis you need to specify that in the config.
You can do that in your .env using
REDIS_CLIENT=predis
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi,
im just trying to use the redis facade, but i get the error: Please make sure the PHP Redis extension is installed and enabled.
I already run "composer require predis/predis", but it still does not work,
Im using ubuntu 18.04.
any suggestion guys?, thanks in advance
I finally fixed it;
I removed predis from composer by running
composer remove vendor/predis
and then ran
php artisan config:clear
(i had previously installed predis by doing "composer require predis/predis, but apparently that was the problem")
I don know what exactly is going on but I will find out later, jajajaja, this may help some body else in the future. never give up !
Please or to participate in this conversation.