我从 github 克隆了一个项目,在本地主机上 运行 之后我收到了这个错误 - Class 'Redis' not found

I have clone one of the project from github and after running on localhost I am getting this error - Class 'Redis' not found

目前,我正在为我的项目使用 Codeigniter,并且一直在 Linux-mint 操作系统上使用它。

我的错误看起来像这样 -

    An uncaught Exception was encountered
    Type: Error

    Message: Class 'Redis' not found

    Filename: /opt/lampp/htdocs/test-pro/system/libraries/Session/drivers/Session_redis_driver.php

    Line Number: 178

    Backtrace:

    File: /opt/lampp/htdocs/test-pro/application/helpers/lang_helper.php
    Line: 64
    Function: library

    File: /opt/lampp/htdocs/test-pro/application/controllers/form/login.php
    Line: 8
    Function: __construct

    File: /opt/lampp/htdocs/test-pro/index.php
    Line: 315
    Function: require_once

谁能帮我解决这个问题。

谢谢。

也许这个post对你有帮助phpredis errors Class Redis not found in Linux

或再次尝试克隆