站长资讯网
最全最丰富的资讯网站

php7如何接入jaeger?

php7如何接入jaeger?

下载client包
https://packagist.org/package…
报错

Fatal error: Uncaught Error: Call to undefined function Jaegersocket_create() in /root/jaeger/vendor/jukylin/jaeger-php/src/Jaeger/UdpClient.php:23 Stack trace: #0 /root/jaeger/vendor/jukylin/jaeger-php/src/Jaeger/Transport/TransportUdp.php(136): JaegerUdpClient->__construct('192.168.0.8:577...') #1 /root/jaeger/vendor/jukylin/jaeger-php/src/Jaeger/Reporter/RemoteReporter.php(25): JaegerTransportTransportUdp->flush() #2 /root/jaeger/vendor/jukylin/jaeger-php/src/Jaeger/Config.php(156): JaegerReporterRemoteReporter->close() #3 /root/jaeger/index.php(42): JaegerConfig->flush() #4 {main}   thrown in /root/jaeger/vendor/jukylin/jaeger-php/src/Jaeger/UdpClient.php on line 23

没有开socket扩展,改php.ini打开

extension=php_sockets.dll

推荐教程:《php教程》

赞(0)
分享到: 更多 (0)
网站地图   沪ICP备18035694号-2    沪公网安备31011702889846号