mirror of
https://github.com/dunglas/frankenphp.git
synced 2025-12-24 13:38:11 +08:00
docs: add link for musl-related problems
This commit is contained in:
@@ -26,10 +26,10 @@ vous devez créer un script worker et vous assurer que l'application n'a pas de
|
||||
|
||||
Les binaires statiques que nous fournissons, ainsi que la variante Alpine Linux des images Docker officielles, utilisent [la bibliothèque musl](https://musl.libc.org).
|
||||
|
||||
PHP est connu pour être significativement plus lent lorsqu'il utilise cette bibliothèque C alternative au lieu de la bibliothèque GNU traditionnelle,
|
||||
surtout lorsqu'il est compilé en mode ZTS (thread-safe), ce qui est nécessaire pour FrankenPHP.
|
||||
PHP est connu pour être [significativement plus lent](https://gitlab.alpinelinux.org/alpine/aports/-/issues/14381) lorsqu'il utilise cette bibliothèque C alternative au lieu de la bibliothèque GNU traditionnelle,
|
||||
surtout lorsqu'il est compilé en mode ZTS (*thread-safe*), ce qui est nécessaire pour FrankenPHP.
|
||||
|
||||
En outre, certains bogues ne se produisent que lors de l'utilisation de musl.
|
||||
En outre, [certains bogues ne se produisent que lors de l'utilisation de musl](https://github.com/php/php-src/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen+label%3ABug+musl).
|
||||
|
||||
Dans les environnements de production, nous recommandons fortement d'utiliser la glibc.
|
||||
|
||||
|
||||
@@ -27,12 +27,12 @@ you need to create a worker script and to be sure that the app is not leaking me
|
||||
The static binaries we provide and the Alpine Linux variant of the official Docker images
|
||||
are using [the musl libc](https://musl.libc.org).
|
||||
|
||||
PHP is known to be significantly slower when using this alternative C library instead of the traditional GNU library,
|
||||
PHP is known to be [significantly slower](https://gitlab.alpinelinux.org/alpine/aports/-/issues/14381) when using this alternative C library instead of the traditional GNU library,
|
||||
especially when compiled in ZTS mode (thread-safe), which is required for FrankenPHP.
|
||||
|
||||
Also, some bugs also only happen when using musl.
|
||||
Also, [some bugs only happen when using musl](https://github.com/php/php-src/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen+label%3ABug+musl).
|
||||
|
||||
In production environements, we strongly recommend to use the glibc.
|
||||
In production environments, we strongly recommend to use the glibc.
|
||||
|
||||
This can be achieved by using the Debian Docker images (the default) and [by compiling FrankenPHP from sources](compile.md).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user