I don't quite understand you meant:
change redis's client to "phpredis" instead of "predis" in config/database.php.
Can you show us your database.php configuration file?
Steps I did to install the extension:
pecl install redis (Installation from pecl).extension=redis.so to /etc/php/7.3/cli/php.ini.config/database.php.And I am getting this error:
Call to undefined method Illuminate\Support\Facades\Redis::connect()
@RANX99 - Ah okay I understand. Looks like you added the extension to your php cli (command-line interface) version only, probably you are missing to add it in your server version.
I suggest you to use phpinfo() and take a look in your browser, and see if the phpredis extension is correctly installed in the server.
Please or to participate in this conversation.