Category : pecl

I am trying to install xdebug or redis package in a docker container from pecl. Installation failed and returns an error: There are no releases available for package "pecl.php.net/xdebug". Example for xdebug https://pecl.php.net/package/xdebug/3.1.0 My docker-compose.yaml version: ‘3’ networks: app-network: services: site: build: context: . dockerfile: nginx.dockerfile container_name: my_nginx ports: – "8082:80" – "443:443" volumes: – ..

Read more

I’ll build a Laravel 8 app. The PHP language level is PHP8. How can I integrate Swoole in my Dockerfile? Actually I try it this way: RUN pecl channel-update https://pecl.php.net/channel.xml && pecl install swoole But if I build the Dockerfile, it always runs into this error: —— > [11/19] RUN pecl channel-update https://pecl.php.net/channel.xml && pecl ..

Read more

When installing opencensus-alpha from PECL package manager in docker as part of dockerfile, an error is thrown /bin/sh: pecl: not found Dockerfile FROM nginx:1.17.4-alpine RUN apk –no-cache add php7 php7-fpm php7-mysqli php7-pdo_mysql php7-json php7-openssl php7-curl php7-zlib php7-xml php7-simplexml php7-phar php7-intl php7-dom php7-xmlreader php7-xmlwriter php7-ctype php7-session php7-mbstring php7-gd php-zip supervisor libxml2-dev php7-tokenizer RUN pecl install opencensus-alpha ..

Read more