hyperf-docker icon indicating copy to clipboard operation
hyperf-docker copied to clipboard

pecl8: command not found

Open rodrigolabs opened this issue 2 years ago • 3 comments

Hello, I tried to install package opentelemetry without success.

The pecl extension was not found.

I tried following the manual with the following commands:

RUN apk add --no-cache $PHPIZE_DEPS \
&& pecl8 install opentelemetry

With the following return:

bash-5.1# apk add --no-cache $PHPIZE_DEPS \
&& pecl8 install opentelemetry
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
OK: 318 MiB in 147 packages
bash: pecl8: command not found
bash-5.1# 

How to correctly install pecl?

Tks!

rodrigolabs avatar Sep 23 '23 01:09 rodrigolabs

i also have same question,whether using pecl8 or pecl none of then can do it

FROM hyperf/hyperf:8.1-alpine-v3.18-swoole

use pecl use pecl8

tiancheng-66 avatar Feb 22 '24 18:02 tiancheng-66

Same here. Has anyone found a solution to this issue?

image

FROM hyperf/hyperf:8.3-alpine-v3.19-swoole-slim-v5.1

eual8 avatar Jun 12 '24 17:06 eual8

同样在这里。有没有人找到解决这个问题的方法?

图像 来自 hyperf/hyperf:8.3-alpine-v3.19-swoole-slim-v5.1

apk add php83-pecl-grpc

tw2066 avatar Jun 19 '24 03:06 tw2066