Skip to content

silarhi/docker-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

142 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker PHP Apache

ci

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.

Available Images

Current Versions

PHP Version Tag Base OS Web Server Public Folder Size Usage
8.5 (latest) latest, 8.5 Debian Bookworm Apache /app Docker Image Size Production
8.5 8.5-ci Alpine - /app Docker Image Size CI/CD pipelines
8.5 8.5-symfony Debian Bookworm Apache /app/public Docker Image Size Symfony apps
8.5 8.5-frankenphp-alpine Alpine FrankenPHP /app/public Docker Image Size Production (FrankenPHP)
8.5 8.5-frankenphp-bookworm Debian Bookworm FrankenPHP /app/public Docker Image Size Production (FrankenPHP)
8.4 8.4 Debian Bookworm Apache /app Docker Image Size Production
8.4 8.4-ci Alpine - /app Docker Image Size CI/CD pipelines
8.4 8.4-symfony Debian Bookworm Apache /app/public Docker Image Size Symfony apps
8.4 8.4-frankenphp-alpine Alpine FrankenPHP /app/public Docker Image Size Production (FrankenPHP)
8.4 8.4-frankenphp-bookworm Debian Bookworm FrankenPHP /app/public Docker Image Size Production (FrankenPHP)
8.3 8.3 Debian Bookworm Apache /app Docker Image Size Production
8.3 8.3-ci Alpine - /app Docker Image Size CI/CD pipelines
8.3 8.3-symfony Debian Bookworm Apache /app/public Docker Image Size Symfony apps
8.3 8.3-frankenphp-alpine Alpine FrankenPHP /app/public Docker Image Size Production (FrankenPHP)
8.3 8.3-frankenphp-bookworm Debian Bookworm FrankenPHP /app/public Docker Image Size Production (FrankenPHP)
8.2 8.2 Debian Bookworm Apache /app Docker Image Size Production
8.2 8.2-ci Alpine - /app Docker Image Size CI/CD pipelines
8.2 8.2-symfony Debian Bookworm Apache /app/public Docker Image Size Symfony apps
8.2 8.2-frankenphp-alpine Alpine FrankenPHP /app/public Docker Image Size Production (FrankenPHP)
8.2 8.2-frankenphp-bookworm Debian Bookworm FrankenPHP /app/public Docker Image Size Production (FrankenPHP)
8.1 8.1 Debian Bookworm Apache /app Docker Image Size Production
8.1 8.1-ci Alpine - /app Docker Image Size CI/CD pipelines
8.1 8.1-symfony Debian Bookworm Apache /app/public Docker Image Size Symfony apps

Legacy Versions

PHP Version Tag Base OS Web Server Public Folder Size Usage
8.0 8.0 Debian Bookworm Apache /app Docker Image Size Production (Legacy)
8.0 8.0-ci Alpine - /app Docker Image Size CI/CD pipelines (Legacy)
8.0 8.0-symfony Debian Bookworm Apache /app/public Docker Image Size Symfony apps (Legacy)
7.4 7.4 Debian Bookworm Apache /app Docker Image Size Production (Legacy)
7.4 7.4-ci Alpine - /app Docker Image Size CI/CD pipelines (Legacy)
7.4 7.4-symfony Debian Bookworm Apache /app/public Docker Image Size Symfony apps (Legacy)
7.3 7.3 Debian Buster Apache /app Docker Image Size Production (Legacy)
7.3 7.3-symfony Debian Buster Apache /app/public Docker Image Size Symfony apps (Legacy)
7.2 7.2 Debian Buster Apache /app Docker Image Size Production (Legacy)
7.2 7.2-symfony Debian Buster Apache /app/public Docker Image Size Symfony apps (Legacy)
7.1 7.1 Debian Stretch Apache /app Docker Image Size Production (Legacy)
7.1 7.1-symfony Debian Stretch Apache /app/public Docker Image Size Symfony apps (Legacy)
5.6 5.6 Debian Stretch Apache /app Docker Image Size Production (Legacy)

Image Variants Explained

  • 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

About

A set of PHP + Apache Docker images. Gets a default symfony configuration from PHP 5.6 to 8.5.

Topics

Resources

License

Stars

Watchers

Forks

Contributors