Installed Extensions
5.3 | 5.4 | 5.5 | 5.6 | 7.0 | 7.1 | 7.2 | 7.3 | 7.4 | 8.0 | 8.1 | 8.2 | 8.3 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apc | X | X | |||||||||||
apcu | X | X | X | X | X | X | X | ||||||
bcmath | X | X | X | X | X | X | X | X | X | X | X | X | X |
bz2 | X | X | X | X | X | X | X | X | X | X | X | X | X |
calendar | X | X | X | X | X | X | X | X | X | X | X | X | X |
Core | X | X | X | X | X | X | X | X | X | X | X | X | X |
ctype | X | X | X | X | X | X | X | X | X | X | X | X | X |
curl | X | X | X | X | X | X | X | X | X | X | X | X | X |
date | X | X | X | X | X | X | X | X | X | X | X | X | X |
dom | X | X | X | X | X | X | X | X | X | X | X | X | X |
exif | X | X | X | X | X | X | X | X | X | X | X | X | X |
fileinfo | X | X | X | X | X | X | X | X | X | X | X | X | X |
filter | X | X | X | X | X | X | X | X | X | X | X | X | X |
ftp | X | X | X | X | X | X | X | X | X | X | X | X | X |
gd | X | X | X | X | X | X | X | X | X | X | X | X | X |
gettext | X | X | X | X | X | X | X | X | X | X | X | X | X |
hash | X | X | X | X | X | X | X | X | X | X | X | X | X |
iconv | X | X | X | X | X | X | X | X | X | X | X | X | X |
imagick | X | X | X | X | X | X | X | X | X | X | X | X | * |
imap | X | X | X | X | X | X | X | X | X | X | X | X | X |
intl | X | X | X | X | X | X | X | X | X | X | X | X | X |
json | X | X | X | X | X | X | X | X | X | X | X | X | X |
ldap | X | X | X | X | X | X | X | X | X | X | X | X | X |
libxml | X | X | X | X | X | X | X | X | X | X | X | X | X |
mbstring | X | X | X | X | X | X | X | X | X | X | X | X | X |
mcrypt | X | X | X | X | X | X | X | X | X | X | X | X | X |
memcached | X | X | X | X | X | X | X | X | X | ||||
mysqli | X | X | X | X | X | X | X | X | X | X | X | X | X |
mysqlnd | X | X | X | X | X | X | X | X | X | X | X | X | X |
OAuth | X | X | X | X | X | X | X | X | X | ||||
OPcache | X | X | X | X | X | X | X | X | X | X | X | ||
openssl | X | X | X | X | X | X | X | X | X | X | X | X | X |
pcntl | X | X | X | X | X | X | X | X | X | X | X | X | X |
pcre | X | X | X | X | X | X | X | X | X | X | X | X | X |
PDO | X | X | X | X | X | X | X | X | X | X | X | X | X |
pdo_mysql | X | X | X | X | X | X | X | X | X | X | X | X | X |
pdo_pgsql | X | X | X | X | X | X | X | X | X | X | X | X | X |
pdo_sqlite | X | X | X | X | X | X | X | X | X | X | X | X | X |
Phar | X | X | X | X | X | X | X | X | X | X | X | X | X |
posix | X | X | X | X | X | X | X | X | X | X | X | X | X |
readline | X | X | X | X | X | X | X | X | X | X | X | X | X |
redis | X | X | X | X | X | X | X | X | X | X | X | X | X |
readline | X | X | X | X | X | X | X | X | X | X | X | X | X |
Reflection | X | X | X | X | X | X | X | X | X | X | X | X | X |
session | X | X | X | X | X | X | X | X | X | X | X | X | X |
SimpleXML | X | X | X | X | X | X | X | X | X | X | X | X | X |
soap | X | X | X | X | X | X | X | X | X | X | X | X | X |
SPL | X | X | X | X | X | X | X | X | X | X | X | X | X |
sqlite3 | X | X | X | X | X | X | X | X | X | X | X | X | X |
standard | X | X | X | X | X | X | X | X | X | X | X | X | X |
tokenizer | X | X | X | X | X | X | X | X | X | X | X | X | X |
xdebug | |||||||||||||
xml | X | X | X | X | X | X | X | X | X | X | X | X | X |
xmlreader | X | X | X | X | X | X | X | X | X | X | X | X | X |
xmlwriter | X | X | X | X | X | X | X | X | X | X | X | X | X |
zip | X | X | X | X | X | X | X | X | X | X | X | X | X |
zlib | X | X | X | X | X | X | X | X | X | X | X | X | X |
Note that xdebug
is off by default but you can enable it by setting your php
services config to xdebug: true
. Read more about this in "Configuration" above.
WARNING
Note that imagick is temporarily unavailable on PHP 8.3, due to a pending issue waiting to get released on the imagick project: https://github.com/Imagick/imagick/pull/641
Adding or removing extensions
There are a few ways you can extend or modify our php images below:
- Using build steps.
- Using your own image with service overrides.
- Building from your own local Dockerfile service overrides.
Consider the example that uses build steps to install the memcached
php extension as follows:
yaml
services:
myservice:
type: php
build_as_root:
- apt-get update -y
- apt-get install libmemcached-dev -y
- pecl install memcached
- docker-php-ext-enable memcached
Note the usage of docker-php-ext-enable
. Our images extend the official Docker php images which ship with a bunch of helpful utility scripts to manage php extensions.