How to access jaeger in php7?

coldplay.xixi
Release: 2023-02-17 15:58:01
forward
2993 people have browsed it

How to access jaeger in php7?

Download client package
https://packagist.org/package...
Error report

Fatal error: Uncaught Error: Call to undefined function Jaeger\socket_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): Jaeger\UdpClient->__construct('192.168.0.8:577...') #1 /root/jaeger/vendor/jukylin/jaeger-php/src/Jaeger/Reporter/RemoteReporter.php(25): Jaeger\Transport\TransportUdp->flush() #2 /root/jaeger/vendor/jukylin/jaeger-php/src/Jaeger/Config.php(156): Jaeger\Reporter\RemoteReporter->close() #3 /root/jaeger/index.php(42): Jaeger\Config->flush() #4 {main} thrown in /root/jaeger/vendor/jukylin/jaeger-php/src/Jaeger/UdpClient.php on line 23
Copy after login

The socket extension is not enabled, change php.ini Open

extension=php_sockets.dll
Copy after login

Recommended tutorial: "php tutorial"

The above is the detailed content of How to access jaeger in php7?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!