Application Servers

FrankenPHP – modern app server for PHP

FrankenPHP is a PHP application server built on the Caddy web server. It integrates PHP execution directly into the web server through a specialized Server Application Programming Interface (SAPI), eliminating the need for a separate PHP-FPM service.

The application supports conventional request-based PHP execution and a persistent worker mode for compatible applications. Worker mode initializes application code once and retains it in memory between requests, reducing the overhead associated with repeatedly loading application frameworks. FrankenPHP also provides facilities for embedding PHP execution into other applications.

This is free and open source software.

Key Features

  • Support HTTP/1.1, HTTP/2 and HTTP/3.
  • Automatic HTTPS certificate generation and renewal.
  • HTTP 103 Early Hints for preloading page resources.
  • Persistent application workers with official Laravel and Symfony integrations.
  • Configurable worker counts and PHP execution threads.
  • Built-in Mercure hub for real-time updates using Server-Sent Events.
  • Automatic worker restarts when watched application files change.
  • Browser hot reloading for modified templates and assets.
  • Graceful server configuration reloads.
  • Brotli, Zstandard and Gzip compression.
  • Structured logging, Prometheus metrics and tracing.
  • Support PHP extensions including OPcache and Xdebug.
  • Extend web server functionality through Caddy modules.
  • Configurable PHP settings and environment variables.
  • Execute PHP command-line scripts.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/php/frankenphp
Support:
Developer: Kévin Dunglas
License: MIT License

FrankenPHP is written in Go and C. Learn Go with our recommended free books and free tutorials. Learn C with our recommended free books and free tutorials.


Related Software

PHP Application Servers
RoadRunnerHigh performance PHP application server, load balancer, and process manager
FrankenPHPThe modern PHP app server
SwooleComplete PHP async solution with built-in support for async programming
PPMProcess manager, supercharger and load balancer
http-serverAdvanced async HTTP server library

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted