Sign inSign up

creativeprojects/php-fpm

By creativeprojects

•Updated 3 days ago

PHP-FPM with xdebug for developers with all the most common extensions installed

Image
Integration & delivery
Developer tools
1

10K+

creativeprojects/php-fpm repository overview

⁠php-fpm

⁠php 5.6 fpm

PHP-FPM Docker image with all the most used PHP extensions installed. This reflects a typical PHP host available on many commercial shared hosting platforms (and even some free ones).

Please note these images are not always the very latest ones available. It's because I follow the images used by the different shared hosting platform I'm using for my projects.

Common hosting platform extensions installed:

  • bz2
  • calendar
  • exif
  • gettext
  • mbstring
  • mcrypt
  • mysql
  • mysqli
  • pdo_mysql
  • sockets
  • zip
  • gd
  • PECL igbinary and phpredis

Development extensions installed:

  • xdebug 2.5.5 (with "profiler_enable_trigger" and "trace_enable_trigger" both enabled)

For historical reasons, I'm using php 5.6.34

Docker file⁠

To download an image:

docker pull creativeprojects/php-fpm:5.6.34

⁠php 7.0 fpm

Almost the same image as the 5.6 ones, except for the deprecated module mysql. Included: xdebug 2.6.1

Docker file⁠

To download the latest images:

docker pull creativeprojects/php-fpm:7.0

⁠php 7.1 fpm

Same configuration as php 7.0 images, except for the deprecated module mcrypt. Included: xdebug 2.7.2

Docker file⁠

To download the latest images:

docker pull creativeprojects/php-fpm:7.1

⁠php 7.2 fpm

Same configuration as php 7.1 images

Docker file⁠

To download the latest images:

docker pull creativeprojects/php-fpm:7.2

⁠php 7.3 fpm

Same configuration as php 7.2 images, including xdebug 3.1

Docker file⁠

To download the latest images:

docker pull creativeprojects/php-fpm:7.3

⁠php 7.4 fpm

Same configuration as php 7.3 images

Docker file⁠

To download the latest images:

docker pull creativeprojects/php-fpm:7.4

⁠php 8.2 fpm

Same configuration as php 7.4 images, including xdebug 3.4

Docker file⁠

To download the latest images:

docker pull creativeprojects/php-fpm:8.2

⁠php 8.4 fpm

Same configuration as php 8.2 images, including xdebug 3.4

Docker file⁠

To download the latest images:

docker pull creativeprojects/php-fpm:8.4

⁠xdebug

xdebug is configured with these options:

xdebug.coverage_enable=0
xdebug.profiler_enable_trigger=1
xdebug.profiler_output_dir=/tmp/xdebug
xdebug.show_mem_delta=1
xdebug.trace_enable_trigger=1
xdebug.trace_output_dir=/tmp/xdebug

If you want to see the profiles, you can use my webgrind docker image⁠

Tag summary

Content type

Image

Digest

sha256:eb3f27ea2…

Size

189.4 MB

Last updated

3 days ago

docker pull creativeprojects/php-fpm