-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
Hello,
I'm trying to use an image for PHP 8.0, but pecl command does not exist:
For example:
...
&& pecl install apcu && docker-php-ext-enable apcu \
...
For PHP 7.4: docker run php:7.4.7-apache-buster pecl
Output:
E:\PROJEKTY\intranet>docker run php:7.4.7-apache-buster pecl
Commands:
build Build an Extension From C Source
bundle Unpacks a Pecl Package
channel-add Add a Channel
...
For PHP 8.0-alpha1: docker run php:8.0.0alpha1-apache-buster pecl
Output:
E:\PROJEKTY\intranet>docker run php:8.0.0alpha1-apache-buster pecl
/usr/local/bin/docker-php-entrypoint: 9: exec: pecl: not found
It seems to me that the PHP team did something from the PECL repository but I can't find any information about it.
Okay, I found information for Dockerfile PHP 7.4:
php/7.4/buster/apache/Dockerfile
Line 227 in b6fd2f7
# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") and will be removed in PHP 8+; see also https://github.com/docker-library/php/issues/846#issuecomment-505638494 |
but there is not that line in Dockerfile PHP 8.0.
Is there any replacement for installing this repository?
strarsis and vukanac
Metadata
Metadata
Assignees
Labels
No labels