当前位置:网站首页>踩坑记录:supervisor 日志返回信息:redis扩展未安装
踩坑记录:supervisor 日志返回信息:redis扩展未安装
2022-06-30 06:56:00 【@Kerry~】

supervisor 日志返回信息:redis扩展未安装
gMZdop6+c1K8VzwzQA1u0Q==
原因:think_queue 消息队列的消费是采用cli模式运行。如果linux服务器运行了多个PHP版本(比如宝塔可以安装多个),如果网站采用是PHP7.3, 而cli模式下运行的是php7.1。则会产生这个错误。
0DiRfPG0DVhXF9y/mHh6BQ==
解决方法:
1、命令行模式更改:
处理掉以前的: rm -f /usr/bin/php
引用你想要的版本:ln -sf /www/server/php/72/bin/php /usr/bin/php
2、宝塔修改:网站->PHP命令行版本->修改成对应版本。从这个角度来看宝塔里的各网站的thinkphp-queue只能运行在同一个PHP版本。
采用方式二:
点击保存即可
边栏推荐
- 【最全】linux服务器上安装Mysql
- Authority management system
- Xshell传输文件
- Essence of signal slot macros signal and slot
- Google Earth Engine(GEE)——墨累全球潮汐湿地变化 v1 (1999-2019) 数据集
- Finished product upgrade procedure
- Basic fragmentary thoughts
- Servlet principle
- 2022年6月29日--使用C#迈出第一步--使用 C# 中的“if”、“else”和“else if”语句向代码添加决策逻辑
- Running lantern effect JS text rotation effect realization
猜你喜欢

Pay attention to this live broadcast and learn about the path to achieve the dual carbon goal of the energy industry
![[transfer] analysis of memory structure, cache and DMA architecture](/img/c1/6a872babf9b5236d226de455a49b8b.png)
[transfer] analysis of memory structure, cache and DMA architecture

Relevant database questions.

6、 Shopping ⻋ and orders

RT thread migration to s5p4418 (I): scheduler

MySQL优化:从十几秒优化到三百毫秒

Egret P2 physical engine (1) small ball falling demo

Go installation and configuration (1)

Go常用命令

MySQL Optimization: from more than ten seconds to 300 milliseconds
随机推荐
Egret P2 physical engine (1) small ball falling demo
RT thread Kernel Implementation (V): timer
QT signal slot alarm QObject:: connect:cannot connect (null)
Cmake post makefile:32: * * * missing separator Stop.
【Mask-RCNN】基于Mask-RCNN的目标检测和识别
Assembly language learning I (with stack co process, 32-bit registers and related instructions, to be continued 06/29)
Pay attention to this live broadcast and learn about the path to achieve the dual carbon goal of the energy industry
Essence of signal slot macros signal and slot
RT thread migration to s5p4418 (I): scheduler
Linux server installation redis
Problems and solutions of creating topic messages in ROS
【每日一题】535. TinyURL 的加密与解密
Ftplib+ tqdm upload and download progress bar
【json-tutorial】第一章学习笔记
What if I forget my account number after opening an account? Is it safe to open an account online?
Four tips in numpy
How to set the hot deployment of idea web project
Google Earth engine (GEE) - Murray global tidal wetland change V1 (1999-2019) data set
Principle: webmvcconfigurer and webmvcconfigurationsupport pit avoidance Guide
What underlying technologies support the metauniverse?