如何在debian上安装bcmath:jessie php5.6?
我正在docker容器上运行一个linux实例。 这是一个debian:与PHP 5.6的杰西。
我想安装bcmath模块,但是我没有成功。
有人知道如何做到这一点?
root@1419c032c35f:/etc/php5/fpm# apt install php5.6-bcmath Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package php5.6-bcmath E: Couldn't find any package by regex 'php5.6-bcmath'
只需创build一个Dockerfile,它将从您想要的图像(上面链接的那个)中生成并添加该行
RUN docker-php-ext-install bcmath