Skip to content

Repository files navigation

php-fpm container

Docker image for php-fpm made to use with led.

Available versions

CentOS 7

TagDescription
5.6PHP 5.6.40
7.0PHP 7.0.33
7.1PHP 7.1.33
7.2PHP 7.2.34
7.3PHP 7.3.33
7.4PHP 7.4.33
8.0PHP 8.0.30
8.1PHP 8.1.34
8.2PHP 8.2.30
8.3PHP 8.3.15

RockyLinux 9

TagDescription
7.4-rl9PHP 7.4.33
8.0-rl9PHP 8.0.30
8.1-rl9PHP 8.1.34
8.2-rl9PHP 8.2.33
8.3-rl9PHP 8.3.33
8.4-rl9PHP 8.4.25
8.5-rl9PHP 8.5.10

Includes

  • Composer 2.x
  • Git
  • Make 3.82
  • Wkhtmltopdf 0.12.6
  • On RL9 tags, images optimization CLI : jpegoptim, optipng, pngquant, gifsicle, libwebp Tools, libavif Tools

PECL

AMQP
AST
APCu
Imagick
pecl_HTTP
lz4
mailparse
memcached
mongodb
maxminddb
pcov
redis
ssh2
XDebug

(+ sqlsrv with some tags)

  • XDebug is disabled by default. Set an environment variable PHP_XDEBUG setted to 1
  • PCOV is disabled by default. Set an environment variable PHP_PCOV setted to 1

The container will exit if Xdebug and PCOV are enabled together

Usage

By default, the image launch PHP-FPM in foreground

docker run -it --rm ledup/php:*tag*

To override command

docker run -it --rm ledup/php:*tag* bash

To override PHP memory limit

docker run -it -e PHP_MEMORY_LIMIT=1024M --rm ledup/php:*tag* php -i | grep memory_limit

Logs

Daemon output is redirected to stderr to be readable from container's log with docker logs [container_name]

About

Docker images for PHP used by led

Topics

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages