You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
summary: Learn how to use FrankenPHP with DDEV through the official add-on or Debian packages. Includes installation steps, features, and performance benchmarks.
7
7
author: Stas Zhuk
8
8
featureImage:
@@ -20,16 +20,13 @@ The PHP ecosystem is changing fast, with tools like [FrankenPHP](https://franken
20
20
21
21
FrankenPHP is now [officially supported](https://thephp.foundation/blog/2025/05/15/frankenphp/) by The PHP Foundation.
22
22
23
-
This guide explains two ways to integrate FrankenPHP with DDEV:
24
-
25
-
1.**Official DDEV add-on** (recommended): Run FrankenPHP as a separate service with full PHP extension support and flexibility
26
-
2.**Debian packages**: Install FrankenPHP directly in the web container (PHP 8.4 only, limited features)
23
+
This guide explains how FrankenPHP can be used with DDEV using [ddev/ddev-frankenphp](https://github.com/ddev/ddev-frankenphp) add-on.
27
24
28
25
### Generic web server
29
26
30
27
This blog shows examples of the recently added [DDEV's generic web server](https://docs.ddev.com/en/stable/users/extend/customization-extendibility/#using-nodejs-as-ddevs-primary-web-server), which supports flexible configurations. It allows you to use any custom web server you want, including Node.js, Python, Ruby, etc.
31
28
32
-
## DDEV FrankenPHP Add-on (Recommended)
29
+
## DDEV FrankenPHP Add-on
33
30
34
31
The [ddev/ddev-frankenphp](https://github.com/ddev/ddev-frankenphp) add-on is now officially maintained by the DDEV team! It has matured to production-ready status with full feature support.
35
32
@@ -40,11 +37,12 @@ ddev add-on get ddev/ddev-frankenphp
40
37
ddev restart
41
38
```
42
39
43
-
To add PHP extensions (see supported extensions[here](https://github.com/mlocati/docker-php-extension-installer?tab=readme-ov-file#supported-php-extensions)):
40
+
Install pre-packaged extensions using the `php-zts-` prefix (see [supported extensions](https://pkg.henderkes.com/84/php-zts/packages?type=debian)):
44
41
45
42
```bash
46
-
ddev dotenv set .ddev/.env.web --frankenphp-custom-extensions="redis memcached"
If you want to suggest some feature or found a bug, feel free to [open an issue](https://github.com/ddev/ddev-frankenphp/issues).
61
57
62
-
## Alternative: FrankenPHP via Debian Packages
63
-
64
-
FrankenPHP can also be installed directly in the web container using Debian packages. This example from the [DDEV quickstart](https://docs.ddev.com/en/stable/users/quickstart/#generic-frankenphp) shows a setup for a Drupal 11 project where FrankenPHP runs as an extra daemon.
0 commit comments