Sign inSign up

webuni/php

By webuni

•Updated over 5 years ago

Minimal php images

Image
0

10K+

webuni/php repository overview

⁠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.

⁠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)

⁠Installed applications

  • Composer⁠: Dependency Manager for PHP.
  • PsySH⁠: A runtime developer console, interactive debugger and REPL for PHP.

⁠Usage

Run interactive REPL:

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

⁠Tags

TagSize
latest, 7.3
7.3-base
7.3
7.3-intl
7.2-base
7.2
7.2-intl
7.1-base
7.1
7.1-intl
7.0-base
7.0
7.0-intl
5.6-base
5.6
5.6-intl

⁠See also

Tag summary

Content type

Image

Digest

Size

21.6 MB

Last updated

over 5 years ago

docker pull webuni/php