mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
Link to FrankenPHP docs about embed SAPI in README-en.md
This commit is contained in:
parent
1a81fe6a0d
commit
4b1d59c5a9
@ -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`,
|
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,
|
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 may require the introduction of other libraries during compilation,
|
||||||
you can use `buildroot/bin/php-config` to obtain the compile-time configuration.
|
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
|
## Contribution
|
||||||
|
|
||||||
If the extension you need is missing, you can create an issue.
|
If the extension you need is missing, you can create an issue.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user