690 B
690 B
🐘 multi-php-fpm (Debian + Sury)
A flexible Docker image to run multiple PHP versions side-by-side using Sury’s PHP repository on Debian. By default, it installs PHP 8.2, and supports all PHP versions available in the Sury repo (from 5.6 up to 8.3+).
🚀 Features
- Default PHP version: 8.2
- Support for multiple PHP versions (5.6–8.3) via
PHP_VERSIONSenv - Auto-starts all installed
phpX.Y-fpmservices - Sets default CLI version via
update-alternatives - Based on Debian + Sury PPA
🛠️ Usage
docker run -it \
-e PHP_VERSIONS="7.4 8.1" \
-e DEF_PHP_INTERPRETER="8.1" \
eroncero/multi-php-fpm