apcu_bc install fails
Closed this issue · 2 comments
vvsalmin commented
Version of install-php-extensions
latest
Error description
FROM php:7.4-apache
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
RUN install-php-extensions apcu_bc
returns error
#7 15.08 Build process completed successfully
#7 15.08 Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20190902/apc.so'
#7 15.09 install ok: channel://pecl.php.net/apcu_bc-1.0.5
#7 15.09 configuration option "php_ini" is not set to php.ini location
#7 15.09 You should add "extension=apc.so" to php.ini
#7 15.10 Unable to find the file of the PHP extension "apcu_bc"
------
executor failed running [/bin/sh -c install-php-extensions apcu_bc]: exit code: 1
last working version is php-extension-installer:1.4.23
Docker image
php:7.4-apache
Minimal Dockerfile
FROM php:7.4-apache
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
RUN install-php-extensions apcu_bc
vvsalmin commented
lightning fast fix 💪 ⚡️