This image is built on top of official php:latest (fpm) image.
It contains all default PHP extensions, but they are disabled by default. To enable an extension on runtime, just pass the desired extension's name to the PHP_EXTENSIONS environment variable, separating the different extensions with semicolon (;).
docker run -it --rm -e PHP_EXTENSIONS="apcu;amqp;mongodb" matriphe/php:latest
Enable this extension using PHP_EXTENSIONS environment.
amqpapcubcmathbz2exifgdgettextgmpigbinaryintlmemcachedmongodbopcachepcntlpdo_mysqlpdo_pgsqlredissoapsocketsxdebugThese extensions can't be disabled.
CorectypecurldatedomfileinfofilterftphashiconvjsonlibxmlmbstringmysqlndopensslpcrePDOpdo_sqlitePharposixreadlineReflectionsessionSimpleXMLsodiumSPLsqlite3standardtokenizerxmlxmlreaderxmlwriterzipzlibContent type
Image
Digest
sha256:c17c5e74d…
Size
187.5 MB
Last updated
almost 7 years ago
docker pull matriphe/php