-
1. Tell us your software version
How to know it?
```Bash
# PHP
php -v
# Swoole
php --ri swoole
# Laravel
grep 'laravel/framework' composer.json
# Lumen
…
-
### 这是config/autoload/servers.php
```php
return [
'mode' => SWOOLE_PROCESS,
'servers' => [
[
'name' => 'http',
'type' => Server::SERVER_HTTP,
…
-
class HomeController
{
public static $count=1;
use PrototypeTrait;
/**
* @return string
*/
public function index(): string
{
$data=[];
self::$…
-
```php
Server Name: mix-httpd
System Name: linux
PHP Version: 7.2.17
Swoole Version: 4.4.16
Framework Version: 2.1.9
Listen Addr: …
-
```php
Server Name: mix-httpd
System Name: linux
PHP Version: 7.2.17
Swoole Version: 4.4.16
Framework Version: 2.1.9
Listen Addr: …
-
As per #2793 I think \Swoole\Server::getWorkerId() should be static. Currently in v4.5.0 it is dynamic.
Thanks
-
Hi,
As of Swoole 4.4.4 there seems to be no way to statically obtain the worker_id.
I know this can be obtained from Swoole\Server but this is only valid if we have this object in the current object…
-
Execute the command and paste the result below.
Command: `uname -a && php -v && composer info | grep hyperf && php --ri swoole`
```bash
# Paste the result here.
Linux b626cd468530 4.19.80-0-vi…
-
First, I have to say this is **amazing** bundle. I really love it, speed diff is really big and my next project will definitely use it.
I do however have an issue. When used under FPM, I get this:
…
-
Please add the comparison Swoole (php) https://www.swoole.co.uk/, Roadrunner (php) https://roadrunner.dev/