llaumgui/php

By llaumgui

Updated about 10 hours ago

Images forked from the official PHP-FPM build with alpine Linux.

Image
Languages & frameworks
Web servers
4

10K+

llaumgui/php repository overview

PHP 8.4 (PHP-FPM) on alpine Linux

Author Build Status Docker Pull Latest Version Software License

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.

Usage

With docker client

You can run this container with docker client:

docker run -d \
  --volumes /docker/volumes/www:/var/www \
  --expose 9000 \
  llaumgui/php:8.4-fpm
With compose

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

Rebuild with less extensions

  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

Tag summary

Content type

Image

Digest

sha256:40ee58c1c

Size

223.9 MB

Last updated

about 10 hours ago

docker pull llaumgui/php:8.4-fpm