php8.2 使用 redis 启动报错 [已解决]

问题描述 php8.2 使用redis 报错 报错信息 Class "Redis" not found in /Users/yuanzhihai/Sites/local/webman2/vendor/illuminate/redis/Connectors/PhpRedisConnector.php:81 操作系统及workerman/webman等框架组件具体版本 workerman/webman-framewor...

yzh52521 发表与 2023-08-21 497 浏览 1 回答
phar 打包后 问题

PHP Warning: mkdir(): Read-only file system in build/webman.phar/vendor/webman/console/src/Application.php on line 24 Warning: mkdir(): Read-only file system in build/webman.phar/vendor/webman/console/src/Appl...

yzh52521 发表与 2022-04-29 2528 浏览 1 回答
老大 请教下在业务代码中调用命令行 希望增加 类似 tp colsole::call() 和 laravel Artisan::call() 这样的方法

使用 业务代码中想调用webman命令行 想通过一个命令名执行 $parameters = '{}'; $command = ['command' => 'mail']; $input = new ArrayInput(array_merge($command, json_decode($parameters, true))); ...

yzh52521 发表与 2022-04-28 795 浏览 1 回答
webman/think-orm 问题

"require": { "php": ">=7.4", "workerman/webman-framework": "^1.3.0", "monolog/monolog": "^2.0", "topthink/think-orm": "^2.0" }, 使用的是 psr/log 1.1.4 这样安装到 就是 topthink/think-orm 2.0.53 "requir...

yzh52521 发表与 2022-04-13 1483 浏览 1 回答
webman-framework 1.3.8 报错

开启自动路由 PHP Fatal error: Uncaught FastRoute\BadRouteException: Cannot register two routes matching "/" for method "GET" in /Users/yuanzhihai/Sites/local/webman/vendor/nikic/fast-route/src/Da...

yzh52521 发表与 2022-04-01 882 浏览 1 回答
中间件可以不可以 也增加传递参数的功能 (个人建议)

类似 tp laravel 中 public function handle($request, \Closure $next, $name) { if ($name == 'think') { return redirect('index/think'); } return $next($request); } 这样向中间件里...

yzh52521 发表与 2022-03-26 1101 浏览 2 回答
在 命令行 使用 ThinkPHP 模版 问题

在命令行使用 thinkphp 模版 $content = ThinkPHP::render($template, $param); 会报错 这行代码 $app = $app == null ? \request()->app : $app; request() 找不到 app...

yzh52521 发表与 2022-03-21 663 浏览 1 回答
webman redis 集群 使用出现问题

配置: 'options' => [ 'cluster' => 'redis', 'prefix' => 'webman_database_', 'password' => null, ], 'clusters' => [ 'default' => [ [ ...

yzh52521 发表与 2022-02-11 2677 浏览 1 回答
webman/push 插件使用错误

使用 webman/push 必须关闭依赖注入 打开就报错了...

yzh52521 发表与 2022-01-11 1829 浏览 1 回答
webman 路由问题

下面这条路由使用没问题 Route::group('/:version',function (){ Route::any('/index','app\:version\controller\Index@index'); }); 就是命令行会 提示 Route set to /index is not callable...

yzh52521 发表与 2021-03-16 3590 浏览 2 回答

yzh52521

2526
积分
0
获赞数
0
粉丝数
2021-03-12 加入
🔝