官方php7 docker镜像里如何安装yar插件
2022-04-24 本文已影响0人
361独家记忆
基于Debian的镜像可以这样安装(其他系统大同小异):
// 安装 msgpack
pecl install msgpack
docker-php-ext-enable msgpack
// 然后安装 libcurl4-openssl-dev 和 yar
apt-get update && apt-get install --no-install-recommends -y libcurl4-openssl-dev
pecl install yar