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
| Extension | 8.2 | 8.3 | 8.4 | 8.5 | 8.6 |
|---|---|---|---|---|---|
| apcu | 5.1.28 | 5.1.28 | 5.1.28 | 5.1.28 | not built† |
| bcmath | |||||
| exif | |||||
| gd | |||||
| gmp | |||||
| grpc | 1.78.1 alpine · 1.51.1 trixie | 1.78.1 alpine · 1.51.1 trixie | 1.78.1 alpine · 1.51.1 trixie | 1.78.1 alpine · 1.51.1 trixie | not built† |
| igbinary | 3.2.17RC1 | 3.2.17RC1 | 3.2.17RC1 | 3.2.17RC1 | not built† |
| intl | |||||
| mbstring | |||||
| mongodb | 2.5.5 | 2.5.5 | 2.5.5 | 2.5.5 | 2.5.5 |
| opcache | |||||
| opentelemetry | 1.4.2 | 1.4.2 | 1.4.2 | 1.4.2 | 1.4.2 |
| pcntl | |||||
| pdo | |||||
| pdo_mysql | |||||
| pdo_odbc | |||||
| pdo_pgsql | |||||
| pdo_sqlite | |||||
| protobuf | 35.1 | 35.1 | 35.1 | 35.1 | not built† |
| redis | 6.3.0 | 6.3.0 | 6.3.0 | 6.3.0 | not 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.
| Module | 8.2 | 8.3 | 8.4 | 8.5 | 8.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
| Variant | OS | 8.2 | 8.3 | 8.4 | 8.5 | 8.6 |
|---|---|---|---|---|---|---|
| cli | alpine | |||||
| trixie | ||||||
| php-fpm | alpine | |||||
| trixie | ||||||
| php-fpm-nginx | alpine | |||||
| trixie | ||||||
| frankenphp | alpine | not built | ||||
| trixie | not 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_phpoff- Signing
- cosign keyless
- Users
- root by default,
PUID/PGIDto drop
Tools
- PIE
- included
- install-php-extensions
- included
- Composer
- not included