Gitpedia

Php

Docker Official Image packaging for PHP

From docker-library·Updated May 29, 2026·View on GitHub·

This is the Git repo of the [Docker "Official Image"](https://github.com/docker-library/official-images#what-are-official-images) for [`php`](https://hub.docker.com/_/php/) (not to be confused with any official `php` image provided by `php` upstream). See [the Docker Hub page](https://hub.docker.com/_/php/) for the full readme on how to use this Docker image and for information regarding contributing and issues. The project is written primarily in Dockerfile, distributed under the MIT License license, first published in 2014. It has gained significant community traction with 4,023 stars and 2,014 forks on GitHub.

https://github.com/docker-library/php

Maintained by: the Docker Community

This is the Git repo of the Docker "Official Image" for php (not to be confused with any official php image provided by php upstream). See the Docker Hub page for the full readme on how to use this Docker image and for information regarding contributing and issues.

The full image description on Docker Hub is generated/maintained over in the docker-library/docs repository, specifically in the php directory.

See a change merged here that doesn't show up on Docker Hub yet?

For more information about the full official images change lifecycle, see the "An image's source changed in Git, now what?" FAQ entry.

For outstanding php image PRs, check PRs with the "library/php" label on the official-images repository. For the current "source of truth" for php, see the library/php file in the official-images repository.

<!-- THIS FILE IS GENERATED BY https://github.com/docker-library/docs/blob/master/generate-repo-stub-readme.sh -->

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from docker-library/php via the GitHub API.Last fetched: 5/30/2026