Ravi Sir's Cards › Chapter 57: Docker Projects Part 1: Websites, Databases, LAMP, LEMP, WordPress, 3-Tier and Every Language with MySQL and MongoDB
How do you add PHP extensions in a Docker image?
How do you add PHP extensions in a Docker image? Use the helper in the official image: docker-php-ext-install pdo_mysql in the Dockerfile. It compiles and enables the extension at build time.

Lesson: 57.13 Project 13: LAMP stack: Apache, PHP 8, MySQL and phpMyAdmin · मराठी card