$ wget https:
$ wget https:
$ wget https:
$ wget https:
$ php --ini
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make: *** [Makefile:204: ext-src/swoole_client_coro.lo] Error 1
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make: *** [Makefile:192: ext-src/php_swoole.lo] Error 1
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
$ php -v
$ composer -v
$ php --ri swoole
swoole
Swoole => enabledAuthor => Swoole Team <team@swoole.com>
Version => 4.6.7
Built => May 28 2021 17:15:13
coroutine => enabled with boost asm contextepoll => enabledeventfd => enabledsignalfd => enabledcpu_affinity => enabledspinlock => enabledrwlock => enabledopenssl => OpenSSL 1.1.1f 31 Mar 2020
dtls => enabledhttp2 => enabledpcre => enabledzlib => 1.2.11
mutex_timedlock => enabledpthread_barrier => enabledfutex => enabledmysqlnd => enabledasync_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 => Off => Off
swoole.unixsock_buffer_size => 8388608 => 8388608
$ composer create-project hyperf/hyperf-skeleton hyperf
$ composer update -o
3. 安装supervisor
$ sudo apt-get install -y supervisor
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package supervisor
$ sudo apt-get update
$ echo_supervisord_conf > /etc/supervisord.conf
;[include]
;files = relative/directory