Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 1.12 KB

File metadata and controls

56 lines (44 loc) · 1.12 KB

AADL Docker PHP Image

This repo takes the official PHP docker images and adds the extensions and settings we use in production, so everyone has the same setup.

Images

The following images are built:

  • ghcr.io/aadl/php:7.4 - End of Life
  • ghcr.io/aadl/php:8.0 - End of Life
  • ghcr.io/aadl/php:8.1 - EOL | Security 2025-12-31
  • ghcr.io/aadl/php:8.2 - EOL | Security 2026-12-31
  • ghcr.io/aadl/php:8.3 - EOL on 2025-12-31 | Security 2027-12-31
  • ghcr.io/aadl/php:8.4 - EOL on 2026-12-31 | Security 2028-12-31

Extensions

The following additional extensions are installed (stock image contains curl, json, mbstring, sqlite, xml)

  • bcmath
  • gd
  • exif
  • igbinary
  • imagick
  • imap
  • intl
  • ldap
  • memcached
  • mysqli
  • opcache
  • pcntl
  • pdo_mysql
  • pdo_pgsql
  • pgsql
  • redis
  • ssh2
  • xdebug
  • zip

Settings

The images use PHP's recommended production ini file with the following changes:

date.timezone = 'America/Detroit'
expose_php = Off
max_execution_time = 300
max_input_time = 600
memory_limit = 512M
post_max_size = 10G
upload_max_filesize = 10G

Composer

The latest stable composer is installed (2.x)