#101101st of 354 in Backends, databases and hosting
frankenphp
PHP application server built on Caddy, with worker mode and HTTP/3
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 11.6k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Go
10,943 on 6 May 202611,559 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
FrankenPHP is a PHP application server written in Go on top of Caddy. It serves PHP in classic or worker mode, with automatic HTTPS, HTTP/2, HTTP/3, Early Hints and a built-in Mercure hub for real-time. It ships as static Linux binaries, deb/rpm/apk packages, Homebrew, and Docker images, and can also be embedded as a Go library. It has no AI features, so it fits this list only as general hosting infrastructure.
Who it is for: PHP developers replacing Nginx/PHP-FPM, or Go developers embedding PHP
Strengths
- Worker mode with official Laravel and Symfony integrations keeps the app booted between requests
- Static Linux binaries run on any distribution without installing dependencies
- Automatic HTTPS, HTTP/2 and HTTP/3 come from the Caddy base
- Can embed PHP in Go apps using net/http, or package apps as self-executable binaries
Weaknesses
- Not an AI project; no model, agent or LLM functionality
- Worker mode requires app support, since state persists across requests
- macOS binaries cover Apple Silicon only, per the README
- Known issues page exists, so some PHP extensions or setups may need workarounds
What it needs
- no GPU
- Docker
- Needs Caddy (bundled), PHP 8.2-8.5 (bundled in binaries)
- port 443
What changed
- v1.14.0 ↗ (opens in a new tab)Breaking
“Like the official PHP images, the PHP 8.6 Docker images no longer include mbstring nor PECL. Install the extensions you need with install-php-extensions. To stay on PHP 8.5, use the php8.5 tags, such…”
- v1.13.6 ↗ (opens in a new tab)Security fix
“FrankenPHP 1.13.6 is a bug fix release. It stops PHP system calls such as stream_select() from failing intermittently because of Go's preemption signal, and fixes a crash when workers are restarted d…”
“Worker mode: Between requests, FrankenPHP now only resets state built from the HTTP request: superglobals (except $_ENV), the request body, response headers and output, the session and the URL rewrit…”
GHSA-J99Q-3WR8-XJ43, GHSA-JVMV-5538-PQPG, GHSA-2725-RH2W-9J9W, GHSA-J45X-H238-H4XX, GHSA-5359-VG53-5464, GHSA-Q6VV-3P75-53WR, GHSA-2X4J-R638-WXFF, GHSA-388M-835F-7723, GHSA-G7PW-WHV8-97J7, GHSA-V7HF-4GQV-HF8P, GHSA-8QCF-V46R-G2MC, GHSA-6Q3J-62J9-F9HH, GHSA-J2F3-WXF2-8QGV, GHSA-XH92-4P94-CH7X, GHSA-HFXC-999W-MP67, GHSA-G9V4-RP77-RV76, GHSA-CP2Q-FC46-38F5, GHSA-28VM-87FH-3PX5. “FrankenPHP 1.13.5 is a security release. It fixes 17 vulnerabilities in FrankenPHP. The most severe let php_server run an uploaded non-PHP file as PHP. Several others affect the default php_server co…”
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Open now, reported in the last 90 days
- getallheaders() / apache_request_headers() do not return the Host header ↗ (opens in a new tab)1 reactions
- Builder image pins GOTOOLCHAIN=local, so xcaddy fails when a module needs a newer Go ↗ (opens in a new tab)1 reactions
Reported, then fixed by a linked change
- Session file lock permanently after PHP thread killed by max_execution_time (non-worker mode) ↗ (opens in a new tab)5 reactions · closed 27 May 2026Fixed by fix: clear in_save_handler state that blocks the subsequent close handler ↗ (opens in a new tab)
- caddycmd.LoadConfig had a fourth parameter added ↗ (opens in a new tab)2 reactions · closed 21 Feb 2026Fixed by Upgrade to Cady v2.11.1 ↗ (opens in a new tab)
- In worker mode, $_REQUEST is incorrectly cached ↗ (opens in a new tab)2 reactions · closed 29 Jan 2026Fixed by fix(worker): initialize _request in worker mode with auto_globals ↗ (opens in a new tab)
- v1.13.2 static linux-x86_64: SIGILL in `hash('sha256')` on CPUs without SHA-NI (Cascade Lake) ↗ (opens in a new tab)1 reactions · closed 22 Oct 2026Fixed by fix(static): build musl binaries for the baseline CPU ↗ (opens in a new tab)
- Regression in v1.12.5: fastcgi_finish_request() terminates FrankenPHP process ↗ (opens in a new tab)1 reactions · closed 4 Aug 2026Fixed by fix: don't treat a finished request's write as an aborted connection ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Backends, databases and hosting
See all 354| Rank | Project | Score |
|---|---|---|
| #99 | dexie.jsTyped IndexedDB wrapper with chainable queries, bulk ops and React hooks | 79 out of 100 |
| #100 | nakamaGame and app backend with accounts, chat, leaderboards, matchmaking and multiplayer | 79 out of 100 |
| #102 | mikro-ormTypeScript ORM for Node.js with Unit of Work and Identity Map | 79 out of 100 |
| #103 | serverMySQL-compatible relational database server with built-in vector search | 79 out of 100 |
| #104 | hatchetTask queue and durable workflow engine for background jobs and AI agents | 79 out of 100 |