This repo takes the official PHP docker images and adds the extensions and settings we use in production, so everyone has the same setup.
PHP branches receiving active support or security fixes are built; end-of-life branches are excluded.
| Image | Active support until | Security support until |
|---|---|---|
| ghcr.io/aadl/php:8.2 | 2024-12-31 | 2026-12-31 |
| ghcr.io/aadl/php:8.3 | 2025-12-31 | 2027-12-31 |
| ghcr.io/aadl/php:8.4 | 2026-12-31 | 2028-12-31 |
| ghcr.io/aadl/php:8.5 | 2027-12-31 | 2029-12-31 |
Keep the PHP version matrix in the build workflow and this table aligned with PHP's support schedule. Older end-of-life tags may remain available, but are no longer rebuilt.
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
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 = 10GThe latest stable composer is installed (2.x)