FrankenPHP embeds PHP directly into Caddy with Early Hints, worker mode, and automatic HTTPS.

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

PHP developers can now deploy apps as a single binary with automatic HTTPS and persistent workers, eliminating the PHP-FPM, nginx and certbot stack entirely.

Read this as

FrankenPHP is an open-source server that runs PHP websites directly inside Caddy, a web server written in Go. Instead of using separate programs for the web server, PHP processing and HTTPS certificates, everything lives in one downloaded binary. It works with existing tools like Laravel, Symfony and WordPress without code changes. Anyone who runs PHP websites, hobbyists and hosting providers alike, can try it today via a single Docker command.

FrankenPHP collapses the traditional three-part PHP hosting stack (PHP-FPM, nginx, certbot) into one binary built on the Caddy web server, cutting configuration and maintenance overhead. Deployment is a single Docker command with automatic HTTPS via Let's Encrypt. It works with Laravel, Symfony, WordPress and Drupal with no code changes. The risk is limited track record, the article calls it 'relatively new' and recommends trying it on side projects first.

FrankenPHP embeds the PHP interpreter into Caddy as a native module, compiled as a static binary (requires CGO_ENABLED=1). Worker mode keeps the application resident in memory between requests, bootstrap code runs once instead of per-request, comparable to 'PHP-FPM's pm = static on steroids'. Caddy's Early Hints (HTTP 103) lets browsers preload assets while PHP is still executing. Supports HTTP/2 and HTTP/3; the article gives no benchmark numbers.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

FrankenPHP Caddy PHP-FPM Laravel Symfony WordPress Docker

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading