Tag: pecl

Install mongodb extension on Docker Alpine PHP 8.0

In case you are building a Docker container with an older PHP 8.0 version and you need mongodb extension, then you may see this error during the container build process: The problem is that your Dockerfile has pecl install mongodb, which installs the latest version. If we look on the PHP pecl mongodb link, we …

Continue reading