Public | Automated Build

Last pushed: 4 months ago
Short Description
All-purpose PHP-FPM 7.1 Docker image based on the official php7-fpm image.
Full Description


All-purpose PHP-FPM 7.2 Docker image. Find it on Dockerhub.

$ docker pull winternight/php7-fpm:7.2


This is a docker image for an all-purpose PHP-FPM (PHP Version 7.2) container. It is based on the 7.2-alpine tag of the official PHP Docker image. Patch version upgrades are thus done automatically on build (e.g. 7.0.11 to 7.0.12) but for minor version upgrades (e.g. 7.2.x to 7.3.x), a new Dockerfile should be created and tagged appropriately.

New and Removed Features

There are some new features and deprecated parts in PHP 7.2 that made changes to the Dockerfile necessary:


The installed extensions are enough for Laravel 5 projects as long as the project is using MySQL. If you need other database drivers/extensions, please fork this image.

This is the full list of preinstalled PHP extensions in this image:

  • ctype
  • curl
  • dom
  • gd
  • hash
  • iconv
  • intl
  • json
  • mbstring
  • mcrypt
  • mysqli
  • opcache
  • pdo
  • pdo_mysql
  • phar
  • posix
  • session
  • simplexml
  • sockets
  • tokenizer
  • xml
  • xmlrpc
  • xmlwriter
  • zip


In order to build this image yourself, simply run the following command:

$ docker build -t winternight/php7-fpm:7.2 .

Docker Pull Command
Source Repository