2017-11-13 2 views
0

docker container에서 리눅스 인스턴스를 실행 중입니다. 그것은 데비안입니다 : PHP 5.6의 jessie.debian에 bcmath를 설치하는 방법 : jessie php5.6?

bcmath 모듈을 설치하고 싶지만 성공하지 못했습니다.

누군가가 어떻게하는지 알고 있습니까?

[email protected]:/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' 

답변

1

은 단순히 당신이 원하는 이미지 (위의 링크 된 하나)에서 구축하는 Dockerfile를 작성하고 퍼펙트, bc 수학이 지금 활성화되어 줄

RUN docker-php-ext-install bcmath 
+0

를 추가합니다. – zwitterion

관련 문제