2025-07-18 12:00:37 +02:00
2025-07-18 12:00:37 +02:00
2025-07-18 12:00:37 +02:00
2025-07-18 12:00:37 +02:00

🐘 multi-php-fpm (Debian + Sury)

A flexible Docker image to run multiple PHP versions side-by-side using Surys 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.68.3) via PHP_VERSIONS env
  • Auto-starts all installed phpX.Y-fpm services
  • 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

Description
A server with multiple PHPs dockerized.
Readme 289 KiB
Languages
Shell 84.5%
Dockerfile 15.5%