SkyAPM / SkyAPM-php-sdk

Replaced by https://github.com/apache/skywalking-php
https://skywalking.apache.org/
Apache License 2.0
421 stars 104 forks source link

fix-swoole分支,不支持swoft #336

Closed ChangeChe closed 3 years ago

ChangeChe commented 3 years ago

Describe the bug 编译安装fix-swoole的skywalking扩展后,支持简单的swoole server以及hyperf。但是不支持swoft应用

Expected behavior 希望支持swoft框架

Screenshots

PHP (please complete the following information):

PHP 7.4.1 (cli) (built: Jan 14 2021 03:42:49) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

SkyWalking (please complete the following information):

skywalking

Directive => Local Value => Master Value
skywalking.enable => On => On
skywalking.version => 8 => 8
skywalking.app_code => php-service-dev-cj => php-service-dev-cj
skywalking.authentication => no value => no value
skywalking.grpc => 192.168.40.106:11800 => 192.168.40.106:11800
skywalking.grpc_tls_enable => 0 => 0
skywalking.grpc_tls_pem_root_certs => no value => no value
skywalking.grpc_tls_pem_private_key => no value => no value
skywalking.grpc_tls_pem_cert_chain => no value => no value
skywalking.log_enable => 1 => 1
skywalking.log_path => /tmp/skywalking-php.log => /tmp/skywalking-php.log

swoole

swoole

Swoole => enabled
Author => Swoole Team <team@swoole.com>
Version => 4.5.8
Built => Jan 19 2021 17:57:22
coroutine => enabled
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 => Off => Off
swoole.unixsock_buffer_size => 8388608 => 8388608
Cuigeek commented 3 years ago

我们后期也正在准备从PHP-FPM切换Swoole,期待能够适配 @heyanlong 十分感谢

heyanlong commented 3 years ago

fix-swoole分支并没有支持swoft的计划。

heyanlong commented 3 years ago

Please use 4.1.3 or newer version