2017-11-13 5 views
0

Ich führe eine Linux-Instanz auf einem docker container. Es ist ein Debian: Jessie mit einem PHP 5.6.Wie installiere ich bcmath auf einem debian: jessie php5.6?

Ich möchte bcmath Modul installieren, aber ich habe keinen Erfolg.

Weiß jemand, wie man das macht?

[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' 

Antwort

1

einfach eine Dockerfile erstellen, die aus dem Bild bauen Sie (die oben verlinkten eins) möchten, und fügen Sie die Zeile

RUN docker-php-ext-install bcmath 
+0

Perfect, bcmath jetzt aktiviert ist. – zwitterion

Verwandte Themen