问题描述 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...
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...
使用 业务代码中想调用webman命令行 想通过一个命令名执行 $parameters = '{}'; $command = ['command' => 'mail']; $input = new ArrayInput(array_merge($command, json_decode($parameters, true))); ...
"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...
开启自动路由 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...
类似 tp laravel 中 public function handle($request, \Closure $next, $name) { if ($name == 'think') { return redirect('index/think'); } return $next($request); } 这样向中间件里...
在命令行使用 thinkphp 模版 $content = ThinkPHP::render($template, $param); 会报错 这行代码 $app = $app == null ? \request()->app : $app; request() 找不到 app...
配置: 'options' => [ 'cluster' => 'redis', 'prefix' => 'webman_database_', 'password' => null, ], 'clusters' => [ 'default' => [ [ ...
下面这条路由使用没问题 Route::group('/:version',function (){ Route::any('/index','app\:version\controller\Index@index'); }); 就是命令行会 提示 Route set to /index is not callable...