-
* php version:7.4.11
* linux:unbuntu18.04
* framework:laravel8.12
I execute the command to install:
```
composer require easyswoole/easyswoole=3.x
```
It's Ok!And notice me:
```
Package m…
-
HTTP请求业务正常,但是在定时任务下却报错2002
SQLSTATE[HY000] [2002] Connection timed out
![image](https://user-images.githubusercontent.com/19270075/56220721-7d4e6d80-609b-11e9-8d19-feab3e5970fd.png)
-
## easyswoole框架版本号、orm组件版本号 [1.4.33]
## 问题描述和截图 [Question]
ExpressModel::create()
->field('id,status,explain')
->where(...)
->all();
执行报错,SQL:
explain FROM `express` WHERE `status` = ? A…
-
1,权限没办法删除和修改。
2,"easyswoole/code-generation": "^2.0",这个估计和哪里冲突了,我composer里面删除了,才可以composer install成功,不然会报以下错误:
`
Problem 1
- easyswoole/code-generation[2.0.1, ..., 2.0.2] require easyswoole/h…
-
$register->set($register::onOpen, function ($server, $request) {
$dateTime = date('Y-m-d H:i:s');
// ws://127.0.0.1:9501/?client=collect
if(isset($request->get…
-
**按照文档:**
启动框架
中途没有报错的话,执行:
# 启动框架
php easyswoole server start
此时可以访问 http://localhost:9501 就看到框架的欢迎页面,表示框架已经安装成功
**实际:**
yun@kube-slave1:/data/www/dev/easyswoole-3.x$ php easyswoole server…
-
第一个
dev.php 26行 LoggerInterface::LOG_LEVEL_DEBUG 静态属性不存在
第二个
[2021-02-25 13:44:02][console][error]:[EasySwoole\Task\Worker bind /www/wwwroot/
192.168.99.100/easyswoole/Temp/EasySwoole.TaskWo…
-
在 `swoole4.6.x` 版本中,停止服务,swoole日志会有致命错误:
```
===================================================================
[FATAL ERROR]: all coroutines (count: 1) are asleep - deadlock!
================…
-
![image](https://user-images.githubusercontent.com/9588681/110094351-b0f12880-7dd6-11eb-8cc4-56e7296d4230.png)
文档中的 php vendor/bin/easyswoole install 安装不成功
因为 vendor/bin/easyswoole中虽然设置了#!/usr/bi…
-
使用方法
```php
Enforcer::addRoleForUser('users','roles');
Enforcer::addPermissionForUser('user','per');
```
报错信息
```log
PHP Fatal error: Uncaught Error: Call to a member function getType…