Files
lemp-dockerized/README.md
2025-07-18 12:00:37 +02:00

21 lines
690 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 🐘 multi-php-fpm (Debian + Sury)
A flexible Docker image to run multiple PHP versions side-by-side using [Surys PHP repository](https://packages.sury.org/php/) 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
```bash
docker run -it \
-e PHP_VERSIONS="7.4 8.1" \
-e DEF_PHP_INTERPRETER="8.1" \
eroncero/multi-php-fpm