Skip to main content

Installer bcmath dans un conteneur

plus nécessaire depuis je sais pas quelle maj

install bcmath php extension in a container

# enter the container
sudo docker exec -it <container_name> bash
# install bcmath
apk add -U --no-cache php81-bcmath
# check if correctly installed
php -m

OR

# Directly install bcmath
sudo docker exec -i <container_name> apk add -U --no-cache php81-bcmath

Snippet documentation

Utilisé pour envoyer des mails avec BookStack.

Mise à jours bcmath alpine : https://alpine.pkgs.org/3.17/alpine-community-x86_64/php81-bcmath-8.1.15-r0.apk.html 

https://www.linuxserver.io/blog/2019-09-14-customizing-our-containers

https://discord.com/invite/YWrKVTn