~/talk

Running PHP-Applications in a Multi-Process Container

Talkat phpday 2025 · 2025-05-15..05-16· [php, devops-and-delivery]
slides:none on file

A deployment constraint on Azure App Service forces single-container apps so the stack moves from nginx + php-fpm to a multiprocess container using s6-overlay to supervise services, with long-run services for nginx/php-fpm and one-shot migrations for DB upgrades; FrankenPHP and supervisord are evaluated but rejected. An s6-cli tool is built to create/check services, add health checks, graceful shutdown and env templating, and the setup is running reliably across about 10 applications.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:53Challenge with containerizing PHP apps
  3. 8:37One process per container philosophy
  4. 9:20Cloud deployment limitations
  5. 13:03Introducing overlay and init systems
  6. 17:25Why supervisor D is insufficient
  7. 18:28Setting up overlay in Docker
  8. 24:23Step-by-step service setup
  9. 26:15Recipes for operating with overlay
  10. 31:46Summary and benefits of overlay
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.