chuan-yun / Molten

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

centos下使用yum安装php7+nginx时,molten的扩展会导致php-fpm启动时报错 #49

Closed ycaihappy closed 7 years ago

ycaihappy commented 7 years ago

yum安装包如下 php71-php-pecl-molten.x86_64 : Extension for application tracing php72-php-pecl-molten.x86_64 : Extension for application tracing

启动php-fpm时报错,错误如下:

Job for php71-php-fpm.service failed because the control process exited with error code. See "systemctl status php71-php-fpm.service" and "journalctl -xe" for details.

yum删除molten安装,启动正常。

phpzie编译扩展暂时还没试。

silkcutKs commented 7 years ago

@ycaihappy 你是用得remi的yum 源吗?

ycaihappy commented 7 years ago

后面用phpzie编译源码安装成功了。下面之前安装失败的rpm包信息,貌似是beta版本的

[root@localhost ~]# yum info php71-php-pecl-molten.x86_64 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile

silkcutKs commented 7 years ago

我在pecl上重新发布一个release 包, 可能之前的php71包存在问题

ycaihappy commented 7 years ago

重新安装后,启动php-fpm正常。