PHP 8.4 image:
- Forked from official PHP-FPM build with alpine Linux (php:8.4-fpm-alpine).
- Additionals PHP extensions:
- bcmath
- gd
- gmp
- intl
- mbstring
- opcache
- shmop
- xmlrpc
- Additionals binaries:
- Capability to disable some additionals extensions (need rebuild and pass build arg):
- APCu
- exif
- ffmpeg
- imagick
- ldap
- memcached
- mongodb
- mysql
- postgresql
- redis
- Symfony (currently only yaml)
- xDebug
- Capability to disable some binaries (need rebuild and pass build arg):
- Composer
- ImageMagick (with optionnal imagick support)
- Some configuration:
- A dedicated php-cli.ini.
You can run this container with docker client:
docker run -d \
--volumes /docker/volumes/www:/var/www \
--expose 9000 \
llaumgui/php:8.4-fpm
You can use this container in a docker-compose.yml file:
php84:
container_name: php84
image: llaumgui/php:8.4-fpm
restart: always
environment:
TZ: 'Europe/Paris'
volumes:
- /var/www:/var/www
expose:
- 9000
php84:
container_name: php:8.4-fpm
image: llaumgui/php:8.4-fpm
build:
context: ../PATH_TO_DOCKERFILE/
args:
DOCKER_PHP_ENABLE_APCU: 'off'
DOCKER_PHP_ENABLE_COMPOSER: 'off'
DOCKER_PHP_ENABLE_EXIF: 'off'
DOCKER_PHP_ENABLE_IMAGICK: 'off'
DOCKER_PHP_ENABLE_FFMPEG: 'onf'
DOCKER_PHP_ENABLE_LDAP: 'off'
DOCKER_PHP_ENABLE_MEMCACHED: 'off'
DOCKER_PHP_ENABLE_MONGODB: 'off'
DOCKER_PHP_ENABLE_MYSQL: 'off'
DOCKER_PHP_ENABLE_POSTGRESQL: 'off'
DOCKER_PHP_ENABLE_REDIS: 'off'
DOCKER_PHP_ENABLE_SYMFONY: 'off'
DOCKER_PHP_ENABLE_XDEBUG: 'off'
restart: always
environment:
TZ: 'Europe/Paris'
volumes:
- /var/www:/var/www
expose:
- 9000