hyperf / hyperf-docker

🐳 The docker image offered by Hyperf.
https://hub.docker.com/r/hyperf/hyperf
301 stars 203 forks source link

pecl8: command not found #58

Open rodrigolabs opened 11 months ago

rodrigolabs commented 11 months ago

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!

tiancheng-66 commented 6 months ago

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

eual8 commented 3 months ago

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

image

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

tw2066 commented 2 months ago

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

图像

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

apk add php83-pecl-grpc