A question I received from a reader recently asks:
I need the “intl” and “zip” php extensions installed for a project of mine but I can’t make it work. I tried running “docker-php-ext-install intl zip”…but had no success.
The official PHP Docker image readme has an example of installing PHP extensions using the image’s
docker-php-ext-install script, and demonstrates how to install the underlying libraries using
Let’s look at it together in this video and see how you can install the
zip extensions in a Docker PHP image, step-by-step.
If you enjoyed this screencast, I wrote Docker for PHP Developers, a course about building wondrous, flexible, PHP containers.
Check out my course page to learn more!