(predis下载地址:https://packagist.org/packages/predis/predis)

1、cmoposer 命令行: php composer require predis/predis:1.0.4

2、若服务器已安装了 phpredis扩展,需要进行更名处理:

【laravel5.4】安装指定版本的predis 和 处理laravel5.*安装使用Redis以及解决Class 'Predis\Client' not found和Fatal error: Non-static method Redis::set() cannot be called statically错误

3、出现:

因为 你没有装predis 类库。

相关文章:

  • 2022-12-23
  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
猜你喜欢
  • 2022-12-23
  • 2021-07-17
  • 2022-12-23
  • 2021-12-29
  • 2022-01-06
  • 2022-12-23
  • 2021-07-15
相关资源
相似解决方案