This document lists PHP versions that are no longer actively built but remain available in container registries for backwards compatibility.
- No new builds will be published for these versions
- No security updates will be applied to these images
- Existing images remain available for download from Docker Hub, GHCR, and Quay.io
- Migration is strongly recommended for production workloads
Status: End of Life - No longer maintained by PHP project
Last Build: January 2025
Reason: PHP 7.4 reached end-of-life November 2022
Alpine-based:
7-cli-alpine7-fpm-alpine7-cli-alpine-v27-fpm-alpine-v2
Debian Bullseye-based:
7-cli-bullseye7-fpm-bullseye7-apache-bullseye7-cli-bullseye-v27-fpm-bullseye-v27-apache-bullseye-v2
Architectures: linux/amd64, linux/arm64, linux/arm/v7
Status: End of Active Support (security-only updates until Nov 2025)
Last Build: January 2025
Reason: Focus maintenance on PHP 8.2+ for better resource allocation
Alpine-based:
8.1-cli-alpine8.1-fpm-alpine8.1-cli-alpine-v28.1-fpm-alpine-v2
Debian Bookworm-based:
8.1-cli-bookworm8.1-fpm-bookworm8.1-apache-bookworm8.1-cli-bookworm-v28.1-fpm-bookworm-v28.1-apache-bookworm-v2
Architectures: linux/amd64, linux/arm64, linux/arm/v7
Breaking Changes to Consider:
- Deprecated features removed in PHP 8.0+
- Stricter type handling
- Changes to error reporting
- Removed legacy extensions
Steps:
- Review PHP 8 migration guide
- Test your application locally with PHP 8.2 or 8.3
- Update dependencies in
composer.json - Run automated tests
- Update Docker image tags
Example:
# Old (deprecated)
docker pull kingpin/php-docker:7-fpm-alpine
# New (recommended)
docker pull kingpin/php-docker:8.3-fpm-alpineBreaking Changes:
- PHP 8.2: Deprecated dynamic properties
- PHP 8.3: More readonly class features
Steps:
- Review PHP 8.2 migration guide or PHP 8.3 guide
- Update image tags in your deployment manifests
- Test thoroughly in staging environment
- Deploy to production
Example:
# Old (deprecated)
docker pull kingpin/php-docker:8.1-fpm-alpine
# New (recommended)
docker pull kingpin/php-docker:8.3-fpm-alpine# Before (deprecated)
services:
app:
image: kingpin/php-docker:8.1-fpm-alpine
# After (recommended)
services:
app:
image: kingpin/php-docker:8.3-fpm-alpine# Before (deprecated)
containers:
- name: app
image: kingpin/php-docker:8.1-fpm-alpine
# After (recommended)
containers:
- name: app
image: kingpin/php-docker:8.3-fpm-alpineThese deprecated images will remain available indefinitely in the following registries:
- Docker Hub: hub.docker.com/r/kingpin/php-docker
- GitHub Container Registry: ghcr.io/kingpin/php-docker
- Quay.io: quay.io/kingpinx1/php-docker
You can continue to pull these images as normal:
# PHP 7.x example
docker pull kingpin/php-docker:7-fpm-alpine
# PHP 8.1 example
docker pull kingpin/php-docker:8.1-fpm-alpineImportant: Deprecated images will NOT receive:
- Security patches for PHP vulnerabilities
- Updates to bundled system packages
- Updates to PHP extensions
- Bug fixes
For production use, we strongly recommend migrating to actively supported versions (PHP 8.2 or 8.3).
- Active Builds: PHP 8.2 and 8.3 (receive regular updates)
- Deprecated: PHP 7.x and 8.1 (images frozen, no updates)
- Removed: None (all previously published images remain available)
For reproducible builds, you can pin to specific digests. Contact the maintainer or check registry APIs for exact digest values of the last published builds.
Example of digest pinning:
# Pin to specific digest (immutable)
docker pull kingpin/php-docker@sha256:abcdef1234567890...If you need assistance migrating from deprecated versions:
- Check the migration guide
- Review troubleshooting guide
- Open an issue on GitHub with:
- Current deprecated version you're using
- Target version you want to migrate to
- Specific migration challenges
- November 2024: Announcement of deprecation plan
- January 2025: Last builds for PHP 7.x and 8.1
- Ongoing: Images remain available in registries indefinitely
Last updated: January 2025