Make sure you read Issues Guideline and answer these questions before submitting your issue. Thanks!
(Any non-English issues will be closed immediately.)
Please provide your PHP and Swoole version. (php -v and php --ri swoole)
PHP 7.4.32 (cli) (built: Oct 28 2022 18:18:25) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.32, Copyright (c), by Zend Technologies
Server API | FPM/FastCGI
and
Swoole => enabled
Author => Swoole Team <team@swoole.com>
Version => 4.8.12
Built => Oct 29 2022 22:59:10
coroutine => enabled with boost asm context
epoll => enabled
eventfd => enabled
signalfd => enabled
cpu_affinity => enabled
spinlock => enabled
rwlock => enabled
pcre => enabled
zlib => 1.2.11
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled
async_redis => enabled
Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => On => On
swoole.unixsock_buffer_size => 8388608 => 8388608
Please provide your Laravel/Lumen version.
"laravel/framework": "^6.0",
Which release version of this package are you using?
Version => 4.8.12
Built => Oct 29 2022 22:59:10
"swooletw/laravel-swoole": "^2.12"
What did you do? If possible, provide a recipe for reproducing the error.
Just Installing swoole on laravel project like on documentation. My laravel project using laradok
What did you expect to see?
How did I know swoole is succefull applied on my environment. Because I test a benchmark with wrk. Nothing improve (just a litte bit) perfomance between using swoole and not using swoole.
Make sure you read Issues Guideline and answer these questions before submitting your issue. Thanks! (Any non-English issues will be closed immediately.)
php -v
andphp --ri swoole
)and
Please provide your Laravel/Lumen version.
"laravel/framework": "^6.0",
Which release version of this package are you using?
What did you do? If possible, provide a recipe for reproducing the error.
Just Installing swoole on laravel project like on documentation. My laravel project using laradok
What did you expect to see?
How did I know swoole is succefull applied on my environment. Because I test a benchmark with wrk. Nothing improve (just a litte bit) perfomance between using swoole and not using swoole.
no using swoole
run command php artisan swoole:http infos
+-----------------+-------------------------------------------------------------------+ | Name | Value | +-----------------+-------------------------------------------------------------------+ | PHP Version | 7.4.32 | | Swoole Version | 4.8.12 | | Laravel Version | 6.20.44 | | Listen IP | 127.0.0.1 | | Listen Port | 1215 | | Server Status | Online | | Reactor Num | 8 | | Worker Num | 8 | | Task Worker Num | 0 | | Websocket Mode | Off | | Master PID | 2791 | | Manager PID | 2795 | +-----------------+-------------------------------------------------------------------+