Answer the question
In order to leave comments, you need to log in
What is the problem with Redis?
Installed radish. Everything seems to be fine, no errors.
But when I go to the site, the following error is displayed: Fatal error: Class 'Redis' not found in /
In the file itself, this code:
<?php
$redis = new Redis();
$redis->connect('localhost:6379');
?>
Answer the question
In order to leave comments, you need to log in
I ’ll answer, maybe it will help someone
. I had such a problem on mas os
as an option in the database.php configuration, change redis -> client from phpredis to predis
and after doing composer require predis / predis, install
the second option via gihub extension and add to php.ini
here like here
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question