Installed Extensions

5.35.45.55.67.07.17.27.37.48.08.1
apcXX
apcuXXXXXXX
bcmathXXXXXXXXXXX
bz2XXXXXXXXXXX
calendarXXXXXXXXXXX
CoreXXXXXXXXXXX
ctypeXXXXXXXXXXX
curlXXXXXXXXXXX
dateXXXXXXXXXXX
domXXXXXXXXXXX
exifXXXXXXXXXXX
fileinfoXXXXXXXXXXX
filterXXXXXXXXXXX
ftpXXXXXXXXXXX
gdXXXXXXXXXXX
gettextXXXXXXXXXXX
hashXXXXXXXXXXX
iconvXXXXXXXXXXX
imagickXXXXXXXXX
imapXXXXXXXXXXX
intlXXXXXXXXXXX
jsonXXXXXXXXXXX
ldapXXXXXXXXXXX
libxmlXXXXXXXXXXX
mbstringXXXXXXXXXXX
mcryptXXXXXXXXXXX
memcachedXXXXXXXXX
mysqliXXXXXXXXXXX
mysqlndXXXXXXXXXXX
OAuthXXXXXXXXX
OPcacheXXXXXXXXX
opensslXXXXXXXXXXX
pcntlXXXXXXXXXXX
pcreXXXXXXXXXXX
PDOXXXXXXXXXXX
pdo_mysqlXXXXXXXXXXX
pdo_pgsqlXXXXXXXXXXX
pdo_sqliteXXXXXXXXXXX
PharXXXXXXXXXXX
posixXXXXXXXXXXX
readlineXXXXXXXXXXX
redisXXXXXXXXXXX
readlineXXXXXXXXXXX
ReflectionXXXXXXXXXXX
sessionXXXXXXXXXXX
SimpleXMLXXXXXXXXXXX
soapXXXXXXXXXXX
SPLXXXXXXXXXXX
sqlite3XXXXXXXXXXX
standardXXXXXXXXXXX
tokenizerXXXXXXXXXXX
xdebug
xmlXXXXXXXXXXX
xmlreaderXXXXXXXXXXX
xmlwriterXXXXXXXXXXX
zipXXXXXXXXXXX
zlibXXXXXXXXXXX

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.

Adding or removing extensions

There are a few ways you can extend or modify our php images below:

Consider the example that uses build steps to install the memcached php extension as follows:

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 imagesopen in new window which ship with a bunch of helpful utility scriptsopen in new window to manage php extensions.