当前位置:网站首页>踩坑记录: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版本。
采用方式二:
点击保存即可
边栏推荐
- Fastapi learning Day2
- MySQL优化:从十几秒优化到三百毫秒
- Mysql5.7 compressed version installation tutorial
- Determine whether the picture is in JPG picture format
- [daily question] 535 Encryption and decryption of tinyurl
- 0 basic job transfer software test, how to achieve a monthly salary of 9.5k+
- 【Mask-RCNN】基于Mask-RCNN的目标检测和识别
- SOC项目AHB_SD_HOST控制器设计
- Record common problems: spaces in encodeuricomponent decoding and the use of Schema in third-party apps to invoke apps
- Authority management system
猜你喜欢

Fastapi learning Day1

Fastapi learning Day2

Daemon and user threads

Deep learning --- the weight of the three good students' scores (3)

Win10踩坑-开机0xc0000225

Linux server installation redis

SOC_AHB_SD_IF

Google Earth engine (GEE) - Murray global tidal wetland change V1 (1999-2019) data set

Out of class implementation of member function of class template

原理:WebMvcConfigurer 与 WebMvcConfigurationSupport避坑指南
随机推荐
First line of code (Third Edition) learning notes
What underlying technologies support the metauniverse?
1285_把AUTOSAR函数以及变量等定义的宏用脚本展开以提高可读性
Problems and solutions of creating topic messages in ROS
JS null judgment operators | and? Usage of
Linu基础-分区规划与使用
Use of sscanf function
[docsify basic use]
【Hot100】15. Sum of three numbers
Cmake post makefile:32: * * * missing separator Stop.
第一行代码(第三版)学习笔记
Jingwei Hengrun won the 10ppm quality award of paccar group again
NFS mount
【Mask-RCNN】基于Mask-RCNN的目标检测和识别
What if I forget my account number after opening an account? Is it safe to open an account online?
Keil - the "trace HW not present" appears during download debugging
[transfer] analysis of memory structure, cache and DMA architecture
【已实现】服务器jar包启动脚本、shell脚本
0基础转行软件测试,如何实现月薪9.5k+
Class template case - encapsulation of array classes