chuan-yun / Molten

php probe for zipkin and opentracing
Apache License 2.0
793 stars 160 forks source link

php5.5.8发送zipkin server正常,php7.1发送zipkin没有收到数据 #64

Open daiqichun opened 6 years ago

daiqichun commented 6 years ago

php5.5.8发送zipkin server正常, php7.1发送zipkin没有收到数据,不过php7.1写日志存在的,会是什么问题

daiqichun commented 6 years ago

检测时zipkin没有接收到php7.1的请求

silkcutKs commented 6 years ago

@daiqichun https://github.com/chuan-yun/Molten/wiki/Q&A 请先按照这里去排查一下。

antik-x commented 6 years ago

使用php:7.1-fpm-alpine启动的PHP环境, 刚开始也不能上报, 仔细阅读Q&A后, 发现确实没有libcurl-devel

alpine系统安装方式: apk update && apk add --no-cache libcurl curl-dev

phphero commented 6 years ago

php7.1.20 编译安装support php7.2和support-php7.2 ,php -m|grep molten 都找不到有加载,phpinfo看也没有.随便执行一个php,提示PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/molten.so' - /usr/lib64/php/modules/molten.so: undefined symbol: php_pdo_get_exception in Unknown on line 0

silkcutKs commented 6 years ago

@phphero 安装pdo了吗?

dionyang25 commented 6 years ago

按照Q&A排查发现第三部收不到http请求。配置之类的应该没有问题可能是什么原因?环境php7.1.2

php-cpm commented 5 years ago

注意一下 curl 等相关扩展的加载顺序要在 molten 之前,否则 molten 扩展初始化时检测不到会自动禁用相关功能