The PHP ecosystem is evolving rapidly, particularly in the area of execution and performance.
New approaches are emerging to simplify deployment and accelerate response times for applications.
Among them, FrankenPHP stands out with a model different from the classic architectures based on PHP-FPM + Nginx/Apache.
The question arises: can you run Drupal with FrankenPHP, and when does it make sense?
In a classic architecture, Drupal relies on:
This model, solid and proven, nonetheless presents:
FrankenPHP is a modern application server for PHP, built around:
Simplify the architecture and improve performance by reducing intermediate layers.
With FrankenPHP, you can:
In short, less complexity = less friction.
The persistent mode offers the possibility of:
This is promising territory for performance-oriented projects.
FrankenPHP offers a modern approach suited to current practices:
A pleasant experience for developers looking to test or prototype quickly.
Drupal was not originally designed for a persistent mode.
This entails several precautions:
Each use case merits specific validation.
FrankenPHP remains a recent technology:
A cautious adoption is therefore recommended for critical projects.
Drupal has historically relied on a stateless model and an advanced caching strategy.
FrankenPHP's persistent mode may introduce:
A solid understanding of Drupal internals is essential before going further.
FrankenPHP can be interesting for:
Ideal for exploring the next generation of PHP execution.
At this stage, it is better to avoid FrankenPHP for:
Caution is advised until the ecosystem matures.
FrankenPHP represents a genuinely interesting evolution for the PHP ecosystem. Its simplified architecture, Docker integration, and performance potential make it worth watching. For Drupal specifically, it works best as a development or experimentation tool today. As community experience grows and compatibility improves, it may become a viable option for broader use. Stay curious, test it in a safe environment, and keep an eye on the evolving ecosystem.