From 4b1d59c5a918a436e84ff29eb9d85cfb8c78905f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Tue, 12 Sep 2023 22:25:31 +0200 Subject: [PATCH] Link to FrankenPHP docs about embed SAPI in README-en.md --- README-en.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README-en.md b/README-en.md index afc35f94..8ed058f5 100755 --- a/README-en.md +++ b/README-en.md @@ -199,12 +199,14 @@ Specifying `php-fpm.conf` can use the command parameter `-y`, for example: `./ph When using the project parameters `--build-embed` or `--build-all`, the final compilation result will output a `libphp.a`, `php-config` and a series of header files, -stored in `buildroot/`, You can introduce them in your other projects. +stored in `buildroot/`. You can introduce them in your other projects. -If you know embed SAPI, you should know how to use it. +If you know [embed SAPI](https://github.com/php/php-src/tree/master/sapi/embed), you should know how to use it. You may require the introduction of other libraries during compilation, you can use `buildroot/bin/php-config` to obtain the compile-time configuration. +For an advanced example of how to use this feature, take a look at [how to use it to build a static version of FrankenPHP](https://github.com/dunglas/frankenphp/blob/main/docs/static.md). + ## Contribution If the extension you need is missing, you can create an issue.