Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 1.78 KB

File metadata and controls

62 lines (43 loc) · 1.78 KB

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

Links


✅ Tip

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