Sign inSign up

svasek/php-fpm

By svasek

β€’Updated 6 days ago

🐳Docker image based on official "fpm-alpine" with some extensions.

Image
Developer tools
2

5.3K

svasek/php-fpm repository overview

⁠PHP-FPM Docker Image

Docker Image CI Docker Stars Docker Pulls

A lightweight PHP-FPM Docker image based on the official php:fpm-alpine image.


⁠Features

  • πŸ•‘ Timezone support
    Simply set the timezone by defining the TZ environment variable, e.g.:

    TZ=Europe/Prague
    
  • πŸ“¦ Pre-installed PHP extensions
    Commonly needed extensions are already installed:

    • curl
    • gd
    • mysqli
    • opcache
    • pdo, pdo_mysql
    • gettext
    • exif
    • sockets
    • zip

⁠⚠️ Version Notice

  • The latest and 8 tags now point to PHP 8.5.
  • The latest and 8 tags now point to PHP 8.4.
  • The latest tag was moved from 7.4 to 8.2, since PHP 7.4 has reached end of life.
  • If you still need PHP 7.4, please use the 7 or 7.4 tag explicitly.

⁠Usage Example

docker run -e TZ=Europe/Prague svasek/php-fpm:latest


β βœ… Tip

Keep your docker-compose.yml or CI/CD pipeline up to date with the desired PHP version tag to avoid unexpected upgrades.

Tag summary

Content type

Image

Digest

sha256:f82c59696…

Size

41.3 MB

Last updated

6 days ago

docker pull svasek/php-fpm