Production-ready Docker images for PHP. Optimized for Laravel, WordPress, and more! https://hub.docker.com/r/serversideup/php/

Jay Rogers fc51ff5727 Remove healthcheck notice 1 day ago
.github 2095c218ed Fix exit on error during migrations, CI updates, and improve notices and messages (#490) 1 week ago
docs fc51ff5727 Remove healthcheck notice 1 day ago
scripts 2095c218ed Fix exit on error during migrations, CI updates, and improve notices and messages (#490) 1 week ago
src fcd736bbbe Set repository build version (Fixes #496) 1 day ago
.dockerignore 20ecec1d96 Release/v3.0 (#207) 9 months ago
.gitattributes 4250cdde9d Set line ending standard 1 month ago
.gitignore 20ecec1d96 Release/v3.0 (#207) 9 months ago
CONTRIBUTING.md d31630374d 2.2.0 Release - Marketing Site & Documentation Site (#110) 1 year ago
LICENSE 6f30d7f993 Initial commit 3 years ago
README.md f2250d8f6c Deploying to main from @ serversideup/docker-php@825625bfee3fa2849328ba3386a2e8cb3b63b8da πŸš€ 3 weeks ago
SECURITY.md 3f23b3de79 Release 2.0: PHP 8.2, Ubuntu 22.04, major re-structure & cleanup (#59) 2 years ago

README.md

Docker Images Logo

Build Status License Support us
Docker Hub Pulls Discord

Introduction

serversideup/php is an optimized set of Docker Images for running PHP applications in production. Everything is designed around improving the developer experience with PHP and Docker. Gone are the days of configuring each environment differently, and gone are the days of trying to figure out why your code works in one environment and not the other.

These images are highly optimized to run modern PHP applications, no matter where you want your application to run.

Experience the true difference of using these images vs the other options out there.

Read more about the key differences with these images β†’

Features
|Production-Ready|Native Health Checks|High Performance| |:---:|:---:|:---:| |Customizable and Flexible|Native CloudFlare Support|Base on Official PHP| |NGINX Unit|Unified Logging||

Usage

This repository creates a number of Docker image variations, allowing you to choose exactly what you need.

Simply use this image name pattern in any of your projects:

serversideup/php:{{version}}-{{variation-name}}

For example... If I wanted to run PHP 8.2 with FPM + NGINX, I would use this image:

serversideup/php:8.2-fpm-nginx

[!NOTE]
All our images are available on Docker Hub and GitHub Packages. πŸ₯³

βš™οΈ Variation πŸš€ Version
cli Debian Based





Alpine Based




fpm Debian Based





Alpine Based




fpm-apache Debian Based




fpm-nginx Debian Based





Alpine Based




unit Debian Based




Resources

  • Website overview of the product.
  • Docs for a deep-dive on how to use the product.
  • Discord for friendly support from the community and the team.
  • GitHub for source code, bug reports, and project management.
  • Get Professional Help - Get video + screen-sharing help directly from the core contributors.

Contributing

As an open-source project, we strive for transparency and collaboration in our development process. We greatly appreciate any contributions members of our community can provide. Whether you're fixing bugs, proposing features, improving documentation, or spreading awareness - your involvement strengthens the project. Please review our contribution guidelines and code of conduct to understand how we work together respectfully.

Need help getting started? Join our Discord community and we'll help you out!

Our Sponsors

All of our software is free an open to the world. None of this can be brought to you without the financial backing of our sponsors.

Sponsors

Black Level Sponsors

Sevalla

Bronze Sponsors

No bronze sponsors yet. Become a sponsor β†’

Individual Supporters

GeekDougleΒ Β JQuiltyΒ Β MaltMethodDevΒ Β 

Special thanks

We'd like to specifically thank a few folks for taking the time for being a sound board that deeply influenced the direction of this project.

Please check out all of their work:

About Us

We're Dan and Jay - a two person team with a passion for open source products. We created Server Side Up to help share what we learn.

|
Dan Pastori
|
Jay Rogers
| | ----------------------------- | ------------------------------------------ | |

|

|

Find us at:

  • πŸ“– Blog - Get the latest guides and free courses on all things web/mobile development.
  • πŸ™‹ Community - Get friendly help from our community members.
  • πŸ€΅β€β™‚οΈ Get Professional Help - Get video + screen-sharing support from the core contributors.
  • πŸ’» GitHub - Check out our other open source projects.
  • πŸ“« Newsletter - Skip the algorithms and get quality content right to your inbox.
  • πŸ₯ Twitter - You can also follow Dan and Jay.
  • ❀️ Sponsor Us - Please consider sponsoring us so we can create more helpful resources.

Our products

If you appreciate this project, be sure to check out our other projects.

πŸ“š Books

πŸ› οΈ Software-as-a-Service

  • Bugflow: Get visual bug reports directly in GitHub, GitLab, and more.
  • SelfHost Pro: Connect Stripe or Lemonsqueezy to a private docker registry for self-hosted apps.

🌍 Open Source

  • AmplitudeJS: Open-source HTML5 & JavaScript Web Audio Library.
  • Spin: Laravel Sail alternative for running Docker from development β†’ production.
  • Financial Freedom: Open source alternative to Mint, YNAB, & Monarch Money.