Skip to content

Latest commit

History

128 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

PHP docker image (minidocks/php)

PHP is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

These images solve problem with iconv library.

Configuration by environment variables

  • PHP_EXT_*=0/1 - enable/disable php extension (e.g. PHP_EXT_XDEBUG=1)
  • PHP_*=value - set PHP configuration in php.ini (e.g. PHP_MEMORY__LIMIT=0)
  • FPM_*=value - set PHP FPM configuration in php-fpm.conf (e.g. FPM_ERROR_LOG=/dev/stderr.pipe)
  • FPM_WWW_*=value - set PHP FPM configuration in php-fpm.d/www.conf (e.g. FPM_WWW_ACCESS__LOG=/dev/stdout.pipe)
  • NEWRELIC_*=value - set New Relic configuration in newrelic.ini

Installed applications

  • Composer: Dependency Manager for PHP composer1 and composer2 (alias composer).
  • PsySH: A runtime developer console, interactive debugger and REPL for PHP.

Modules

module8.x8.5tag
apcubase
bcmathlatest
blackfirelatest
calendarlatest
cgilatest
ctypebase
curlbase
domlatest
exiflatest
excimerlatest
ffilatest
fileinfolatest
fpmlatest
ftplatest
gdlatest
gettextlatest
gmplatest
iconvbase
imapbase
intlintl
jsonbase
ldaplatest
mbstringbase
memcachedlatest
mongodblatest
mysqlilatest
mysqlndlatest
newrelic (amd64)latest
opcache×latest
opentelemetrylatest
opensslbase
pcntlbase
pcovbase
pdo_mysqllatest
pdo_pgsqlatest
pdo_sqlitelatest
pgsqllatest
pharbase
posixbase
protobuflatest
redislatest
sessionlatest
simplexmllatest
soaplatest
socketslatest
sodiumlatest
spxlatest
sqlite3latest
tokenizerbase
xdebuglatest
xmllatest
xmlreaderlatest
xmlwriterlatest
xsllatest
ziplatest

Usage

Run interactive REPL:

docker run --rm -it -v `pwd`:`pwd` -w `pwd` minidocks/php

Tags

TagSize
latest, 8.5
8.5-base
8.5
8.5-nginx
8.5-intl
8.4-base
8.4
8.4-nginx
8.4-intl
8.3-base
8.3
8.3-nginx
8.3-intl
8.2-base
8.2
8.2-nginx
8.2-intl

See also

About

Docker image for PHP

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages