Skip to content

svasek/docker-php-fpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 

Repository files navigation

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.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

Links


✅ Tip

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

About

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

Topics

Resources

Stars

Watchers

Forks

Packages