docker-library / php
git clone https://github.com/docker-library/php.git
🔥 on GitHub Trending today
Dockerfiles and build scripts for the Docker Official Image of PHP, published on Docker Hub.
Why you might care
This is the source repo behind the official php Docker image maintained by the Docker community, not upstream PHP. Use it to see how the image is built or to track changes before they reach Docker Hub; it is not a runtime tool itself.
+10
stars, 24h · #3,268
+76
stars, 7 days · #2,766
+79
stars, 30 days · #8,892
4.1k
★ total · +2% this week
2.0k
forks · 33 open issues
Star history (as recorded here)
LanguageDockerfile
LicenseMIT
Created2014-07-23 (12y ago)
Last push2d ago
Watchers269
OwnerOrganization
Seen on GitHub Trending
- 2026-10-23 — #5 daily in dockerfile · +19 ★
- 2026-10-23 — #1 monthly in dockerfile · +79 ★
- 2026-10-23 — #2 weekly in dockerfile · +76 ★
- 2026-10-22 — #13 monthly in dockerfile · +60 ★
- 2026-10-21 — #13 daily in dockerfile
- 2026-10-21 — #14 monthly in dockerfile · +3 ★
- 2026-10-20 — #13 daily in dockerfile
- 2026-10-20 — #14 monthly in dockerfile · +3 ★
Links
- GitHub: github.com/docker-library/php
- Homepage: https://php.net
- Releases · Issues · Hacker News mentions
README excerpt
# 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.
Blurb generated by claude-haiku-5-5 today. Star deltas marked ~ are extrapolated from partial history.