diff --git a/docs/en/guide/extension-notes.md b/docs/en/guide/extension-notes.md index 83c0b787..dc0f1d7a 100644 --- a/docs/en/guide/extension-notes.md +++ b/docs/en/guide/extension-notes.md @@ -6,6 +6,8 @@ which will be listed one by one here. ## curl +HTTP3 support is not enabled by default, compile with `--with-libs="nghttp2,nghttp3,ngtcp2"` to enable HTTP3 support for PHP >= 8.4. + When using curl to request HTTPS, there may be an `error:80000002:system library::No such file or directory` error. For details on the solution, see [FAQ - Unable to use ssl](../faq/#unable-to-use-ssl). @@ -156,4 +158,4 @@ Parallel is only supported on PHP 8.0 ZTS and above. 1. This is not technically an extension, but a library. 2. Building with `--with-libs="mimalloc"` on Linux or macOS will override the default allocator. -3. This is experimental for now, but is recommended in threaded environments. \ No newline at end of file +3. This is experimental for now, but is recommended in threaded environments. diff --git a/docs/zh/guide/extension-notes.md b/docs/zh/guide/extension-notes.md index 762d2df9..c7b3a8d1 100644 --- a/docs/zh/guide/extension-notes.md +++ b/docs/zh/guide/extension-notes.md @@ -4,6 +4,8 @@ ## curl +HTTP3 支持默认未启用,需在编译时添加 `--with-libs="nghttp2,nghttp3,ngtcp2"` 以启用 PHP 8.4 及以上版本的 HTTP3 支持。 + 使用 curl 请求 HTTPS 时,可能存在 `error:80000002:system library::No such file or directory` 错误, 解决办法详见 [FAQ - 无法使用 ssl](../faq/#无法使用-ssl)。