(已解决)使用webman命令行执行脚本时报错 Timer can only be used in workerman running environment

问题描述 使用webman命令行执行 php webman test 这个test脚本查询日志,然后推给队列,但是执行过程中报错 Timer can only be used in workerman running environment 程序代码或配置 use Webman\RedisQueue\Client RedisQueue::send('xxx',$data); 报错信息: In Timer.php l...

JonWong 发表与 2025-04-04 273 浏览 2 回答
按照Webman文档安装cache组件报错

问题描述 按照Webman文档安装cache组件报错 程序代码 我的版本是PHP 7.4.33 composer -W symfony/cache ^5.2 psr/simple-cache 报错信息 执行composer报错: [Symfony\Component\Console\Exception\CommandNotFoundException] Command "symfony/cache" ...

JonWong 发表与 2024-09-29 558 浏览 1 回答

JonWong

160
积分
0
获赞数
0
粉丝数
2022-04-09 加入
🔝