Feature matrix

What every image carries, by PHP line. Versions come from the labels on the current images; a dot is an extension bundled with PHP itself.

Added extensions

Extension8.28.38.48.58.6
apcu5.1.285.1.285.1.285.1.28not built†
bcmath
exif
gd
gmp
grpc1.78.1 alpine · 1.51.1 trixie1.78.1 alpine · 1.51.1 trixie1.78.1 alpine · 1.51.1 trixie1.78.1 alpine · 1.51.1 trixienot built†
igbinary3.2.17RC13.2.17RC13.2.17RC13.2.17RC1not built†
intl
mbstring
mongodb2.5.52.5.52.5.52.5.52.5.5
opcache
opentelemetry1.4.21.4.21.4.21.4.21.4.2
pcntl
pdo
pdo_mysql
pdo_odbc
pdo_pgsql
pdo_sqlite
protobuf35.135.135.135.1not built†
redis6.3.06.3.06.3.06.3.0not built†
snmp
soap
sockets
zip
  • † apcu on PHP 8.6: apcu 5.1.28 passes a string as php_verror's type argument, which PHP 8.6 changed to int.
  • † grpc on PHP 8.6: grpc 1.78.1 src/php/ext/grpc calls XtOffsetOf, removed in PHP 8.6.
  • † igbinary on PHP 8.6: igbinary 3.2.17RC1 calls zval_dtor, removed in PHP 8.6.
  • † protobuf on PHP 8.6: pie-extensions/protobuf 35.1 calls zval_dtor, removed in PHP 8.6.
  • † redis on PHP 8.6: phpredis 6.3.0 calls XtOffsetOf, removed in PHP 8.6; dev-develop builds.

Built into PHP

Every module compiled into PHP itself, read from php -m on the current cli images.

Module8.28.38.48.58.6
Core
ctype
curl
date
dom
fileinfo
filter
hash
iconv
json
lexbor———
libxml
mysqlnd
openssl
pcre
Phar
posix
random
readline
Reflection
session
SimpleXML
sodium
SPL
sqlite3
standard
tokenizer
uri———
xml
xmlreader
xmlwriter
zlib

Variants

VariantOS8.28.38.48.58.6
clialpine
trixie
php-fpmalpine
trixie
php-fpm-nginxalpine
trixie
frankenphpalpinenot built
trixienot built

The nginx image (ghcr.io/mintopia/nginx) is built for alpine and trixie and pairs with php-fpm.

Every image

Architectures
amd64, arm64
PHP build
ZTS, compiled from php-src tags
Configuration
php.ini-production, expose_php off
Signing
cosign keyless
Users
root by default, PUID / PGID to drop

Tools

PIE
included
install-php-extensions
included
Composer
not included