This is a Dockerfile/image to build a container for FPM-PHP. Most of the regular needed modules (apcu, opcache, php-redis, etc.) are built in and configured like suggested on php.net.
Thanks to Travis-CI this image is pushed weekly and creates new tags if there are new versions available.
For recent tags check Dockerhub.
8.0
,8
,latest
,8.0.0beta4
7.4
,7
,stable
,7.4.2
,7.4.1
,7.4.0
7.3
,7.3.14
,7.3.13
,7.3.12
,7.3.11
,7.3.10
,7.3.9
,7.3.8
,7.3.7
,7.3.6
,7.3.5
,7.3.4
,7.3.3
7.2
,7.2.27
,7.2.26
,7.2.25
,7.2.24
,7.2.23
,7.2.22
,7.2.20
,7.2.19
,7.2.18
,7.2.17
,7.2.16
7.1
,7.1.33
,7.1.32
,7.1.31
,7.1.30
,7.1.29
,7.1.28
,7.1.27
(EOL
)7.0
,7.0.33
(EOL
)
- intl
- zip
- soap
- mysqli
- pdo
- pdo_mysql
- pdo_pgsql
- mcrypt
- exif
- gd
- iconv
- xsl
- bcmath
- gmp
- php-redis
- memcached
- openssl
- opcache (configuration reference)
- apcu (configuration reference)
- imagick
- ssh2 (< 7.3)
- ioncube
- mcrypt (< 7.2)
This Image is intended to be used along with an external webserver container like apache or nginx. I personally prefer nginx over apache. If you are interested in how to setup nginx along with this fpm-php image, take a look at my docker-compose files.