-
yii\base\InvalidCallException: Setting read-only property: feehi\web\Session::name in /var/www/html/vendor/yiisoft/yii2/base/Component.php:206
-
Swoole extension has been installed successfully,but when I run 'php ./yii_dev swoole-backend/start',
Exception 'Error' with message 'Class 'swoole_http_server' not found' in /vendor/feehi/yii2-swoo…
-
## 1. What did you do? If possible, provide a simple script for reproducing the error.
重写 Yii2 中的 request 组件中的 getRawBody 方法
```php
public function getRawBody()
{
return $this->swooleRe…
-
{"err_code":10000,"err_msg":"system busy"}
-
class下的属性和方法建议注释采用规范的phpDoc形式,至少囊括 `@var` `@param` `@return` 这些吧,便于编辑器(像phpstorm)等提供代码提示的功能。
如果有需要,本人愿意提供开发帮忙,本人对 Yii2 框架非常熟悉,对 swoole 也有所使用,所以很看好该项目。
-
Please answer these questions before submitting your issue. Thanks!
1. What did you do? If possible, provide a recipe for reproducing the error.
Yii2 console 投放任务,连接数据库(模型)处理数据
2. What did yo…
-
4.0 实现了 php 的所有方法,但是测试 __get 未支持。
```php
public function __get($name)
{
var_dump('a:'.$name);
if ($name === 'query') {
return new \yii\db\Query();
}
return null;
}…
-
Please answer these questions before submitting your issue. Thanks!
1. What did you do? If possible, provide a recipe for reproducing the error.
```php
-
https://github.com/deepziyu/yii2-swoole/blob/5cb8162a35d5a34b5b2bd447b875e4943a464c8a/db/MysqlPoolPdo.php#L188
https://stackoverflow.com/questions/11597025/is-this-use-of-str-replace-sufficient-t…
-
样例代码:https://github.com/lscgzwd/briarbear
1. 检出代码
2. 拷贝并配置代码中的examples/yii2/storage/config/ini/server.ini 中的信息,包括zookeeper
3. 配置代码中的examples/yii2/storage/web/start.php中的的配置分离文件,指向第二步的ini文件
4. 执行…