I am trying to launch the “guestbook” web app from the “Symfony 5: the fast track” book. I check that all is well installed by taping the following command:
symfony book:check-requirements
and all is ok.
But when I launch the local web server and the guestbook web site with:
symfony open:local
I got the following error on my web page:
Cannot find the “redis” extension nor the “predis/predis” package
Installation of redis is not mentioned in the book. I am on Mac Os X Mojave.
Any Idea?
Regards
Advertisement
Answer
You need to:
- install predis/predis package:
composer require predis/predis
- and update your
.env.local
:
REDIS_URL=redis://localhost:usedPort?timeout=5