Docker image for php-fpm made to use with led.
Tag | Description |
---|---|
5.6 | PHP 5.6.40 |
7.0 | PHP 7.0.33 |
7.1 | PHP 7.1.33 |
7.2 | PHP 7.2.34 |
7.3 | PHP 7.3.33 |
7.4 | PHP 7.4.33 |
8.0 | PHP 8.0.30 |
8.1 | PHP 8.1.32 |
8.2 | PHP 8.2.28 |
8.3 | PHP 8.3.15 |
Tag | Description |
---|---|
7.4-rl9 | PHP 7.4.33 |
8.0-rl9 | PHP 8.0.30 |
8.1-rl9 | PHP 8.1.32 |
8.2-rl9 | PHP 8.2.28 |
8.3-rl9 | PHP 8.3.19 |
8.4-rl9 | PHP 8.4.5 |
- Composer 2.x
- Git
- Make 3.82
- Wkhtmltopdf 0.12.6
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
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
Daemon output is redirected to stderr to be readable from container's log with docker logs [container_name]