A Docker image for PHP apps based on Debian. Works with Apache and PHP from 5.6 to 8.5 and provide a Symfony variant.
- GitHub: https://github.com/silarhi/docker-php
- Demo: https://labs.silarhi.fr/php
- Demo (404): https://labs.silarhi.fr/php/notfound
- Docker image: https://hub.docker.com/r/silarhi/php-apache
- Blog post: https://blog.silarhi.fr/image-docker-php-apache-parfaite/
- Standard (
X.Y): Production-ready images with Apache and common PHP extensions (opcache, pdo_mysql) - CI (
X.Y-ci): Lightweight Alpine-based images optimized for CI/CD pipelines - Symfony (
X.Y-symfony): Enhanced images with additional extensions for Symfony applications (intl, zip) - FrankenPHP Alpine (
X.Y-frankenphp-alpine): Alpine-based images using FrankenPHP server for modern PHP apps - FrankenPHP Bookworm (
X.Y-frankenphp-bookworm): Debian-based images using FrankenPHP server for modern PHP apps