# 🐘 multi-php-fpm (Debian + Sury) [![Docker Hub](https://img.shields.io/docker/pulls/eroncero/multi-php-fpm?style=flat-square)](https://hub.docker.com/r/eroncero/multi-php-fpm) Docker image to install and run multiple PHP versions from the [Sury Debian repository](https://packages.sury.org/php/) on Debian. - Default PHP installed at build: **8.2** (`BUILDTIME_PHP_VER_INST="8.2"`) - Supports installing multiple PHP versions at container start (`PHP_VERSIONS="7.1 7.4 8.1"`) - Automatically starts all installed PHP-FPM services - Uses `update-alternatives` to set default CLI interpreter (`DEF_PHP_INTERPRETER="8.2"`) --- ## Usage Run the image: ```bash docker run -it --rm \ -e PHP_VERSIONS="7.4 8.1" \ -e DEF_PHP_INTERPRETER="8.1" \ eroncero/multi-php-fpm:latest