跟着文档敲一下练手 每一次提交的注释, 注明作用和步骤, 供以后使用时候借鉴.
本地环境基于
easyswoole 3.x
swoole
Swoole => enabled
Author => Swoole Team <team@swoole.com>
Version => 4.2.13-alpha
Built => Jan 25 2019 13:22:55
coroutine => enabled
kqueue => enabled
rwlock => enabled
openssl => OpenSSL 1.0.2p 14 Aug 2018
pcre => enabled
zlib => enabled
brotli => enabled
async_redis => enabled
Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.display_errors => On => On
swoole.use_shortname => On => On
swoole.fast_serialize => Off => Off
swoole.unixsock_buffer_size => 262144 => 262144
PHP 7.2.12 (cli) (built: Nov 9 2018 11:00:45) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans
with Zend OPcache v7.2.12, Copyright (c) 1999-2018, by Zend Technologies