Replies: 3 comments 1 reply
-
Hi @IvayLoRD! Since this image is based on Docker Official PHP image, you can use the documentation from https://hub.docker.com/_/php section "How to install more PHP extensions". Let us know if that works for you! |
Beta Was this translation helpful? Give feedback.
-
Hi, you can use either pecl or i recommend installing and using https://github.com/mlocati/docker-php-extension-installer
|
Beta Was this translation helpful? Give feedback.
-
Hi @IvayLoRD, I had to install some of these packages on top of a unit image yesterday. Here's my docker file that I used as a base for working with WordPress:
Your actual needs will be different, but in general the two potential ways of installing packages are
For more info see https://hub.docker.com/_/php, the "How to install more PHP extensions heading" Alternatively the way @JanMikes showed would also work. |
Beta Was this translation helpful? Give feedback.
-
Hello, sorry for the question, it may seem stupid to you, can someone explain how it could be added BC Math
Fileinfo, GMP, Iconv, Intl, MBString, OpenSSL***, SOAP and ionCube Loader for PHP version in image public.ecr.aws/nginx/unit:1.31.1-php8.2 because I didn't see anything like that anywhere .
Beta Was this translation helpful? Give feedback.
All reactions