From 23197940c5ccacc91441389b22906160420b7837 Mon Sep 17 00:00:00 2001 From: huangliling Date: Fri, 15 Aug 2025 12:54:30 +0800 Subject: [PATCH 1/2] chore: supports only php 7.4.x --- docs/sdk/engine/deploy/php.mdx | 4 ++-- docs/sdk/engine/overview.mdx | 2 +- .../current/sdk/engine/deploy/php.mdx | 2 +- .../current/sdk/engine/overview.mdx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/sdk/engine/deploy/php.mdx b/docs/sdk/engine/deploy/php.mdx index b231566..868c8f2 100644 --- a/docs/sdk/engine/deploy/php.mdx +++ b/docs/sdk/engine/deploy/php.mdx @@ -36,11 +36,11 @@ import { Conditional } from "/src/docComponents/conditional"; ```json "require": { - "php": "7.4" + "php": "7.4.x" } ``` -目前云引擎支持的版本有:`7.0`、`7.1`、`7.2`、`7.3`、`7.4`。 +目前云引擎支持的版本有:`7.4.x`。 :::note diff --git a/docs/sdk/engine/overview.mdx b/docs/sdk/engine/overview.mdx index e3e3b57..13ac439 100644 --- a/docs/sdk/engine/overview.mdx +++ b/docs/sdk/engine/overview.mdx @@ -21,7 +21,7 @@ import { Conditional } from "/src/docComponents/conditional"; | Node.js | >= 0.12 | NPM / Yarn | [Node.js 运行环境](/sdk/engine/deploy/nodejs/) | [node-js-getting-started](https://github.com/leancloud/node-js-getting-started/) (Express) | | Python | >= 2.7 | pip | [Python 运行环境](/sdk/engine/deploy/python/) | [python-getting-started](https://github.com/leancloud/python-getting-started) (Flask) | | Java | 8, 11–15 | Maven / Gradle | [Java 运行环境](/sdk/engine/deploy/java/) | [servlet-getting-started](https://github.com/leancloud/servlet-getting-started)
[spring-boot-getting-started](https://github.com/leancloud/spring-boot-getting-started) | -| PHP | 7.0–7.4 | Composer (v2) | [PHP 运行环境](/sdk/engine/deploy/php/) | [slim-getting-started](https://github.com/leancloud/slim-getting-started) | +| PHP | 7.4.x | Composer (v2) | [PHP 运行环境](/sdk/engine/deploy/php/) | [slim-getting-started](https://github.com/leancloud/slim-getting-started) | | .NET | 3.1 | dotnet | [.NET 运行环境](/sdk/engine/deploy/dotnet/) | [dotnet-core-getting-started](https://github.com/leancloud/dotnet-core-getting-started) | | Go | >= 1.10 | go mod | [Go 运行环境](/sdk/engine/deploy/go/) | [golang-getting-started](https://github.com/leancloud/golang-getting-started) (Echo) | | C++ | GCC 9.4 | Bazel | [C++ 运行环境](/sdk/engine/deploy/cpp/) | [cpp-socket](https://github.com/leancloud/leanengine-unit-test/tree/cpp-socket-bazel) (Bazel) | diff --git a/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/deploy/php.mdx b/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/deploy/php.mdx index 626b4cb..4a68deb 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/deploy/php.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/deploy/php.mdx @@ -40,7 +40,7 @@ You can specify the PHP version you want to use in `composer.json`: } ``` -At this time, Cloud Engine supports PHP `7.0`, `7.1`, `7.2`, `7.3` and `7.4`. +At this time, Cloud Engine supports ONLY PHP `7.4.x`. :::note diff --git a/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/overview.mdx b/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/overview.mdx index bfac90f..dd323da 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/overview.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/overview.mdx @@ -21,7 +21,7 @@ Ready to deploy your first app? Check out [this guide](/sdk/engine/deploy/gettin | Node.js | >= 0.12 | NPM / Yarn | [Node.js Runtime Environment](/sdk/engine/deploy/nodejs/) | [node-js-getting-started](https://github.com/leancloud/node-js-getting-started/) (Express) | | Python | >= 2.7 | pip | [Python Runtime Environment](/sdk/engine/deploy/python/) | [python-getting-started](https://github.com/leancloud/python-getting-started) (Flask) | | Java | 8, 11–15 | Maven | [Java Runtime Environment](/sdk/engine/deploy/java/) | [servlet-getting-started](https://github.com/leancloud/servlet-getting-started)
[spring-boot-getting-started](https://github.com/leancloud/spring-boot-getting-started) | -| PHP | 7.0–7.4 | Composer (v2) | [PHP Runtime Environment](/sdk/engine/deploy/php/) | [slim-getting-started](https://github.com/leancloud/slim-getting-started) | +| PHP | 7.4.x | Composer (v2) | [PHP Runtime Environment](/sdk/engine/deploy/php/) | [slim-getting-started](https://github.com/leancloud/slim-getting-started) | | .NET | 3.1 | dotnet | [.NET Runtime Environment](/sdk/engine/deploy/dotnet/) | [dotnet-core-getting-started](https://github.com/leancloud/dotnet-core-getting-started) | | Go | >= 1.10 | go mod | [Go Runtime Environment](/sdk/engine/deploy/go/) | [golang-getting-started](https://github.com/leancloud/golang-getting-started) (Echo) | | C++ | GCC 9.4 | Bazel | [C++ Runtime Environment](/sdk/engine/deploy/cpp/) | [cpp-socket](https://github.com/leancloud/leanengine-unit-test/tree/cpp-socket-bazel) (Bazel) | From b1305378d0b685b5dbe2d73c1d18fe5c184aa3d3 Mon Sep 17 00:00:00 2001 From: huangliling Date: Fri, 15 Aug 2025 12:55:34 +0800 Subject: [PATCH 2/2] chore: supports only php 7.4.x --- .../current/sdk/engine/deploy/php.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/deploy/php.mdx b/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/deploy/php.mdx index 4a68deb..3ae4f95 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/deploy/php.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/sdk/engine/deploy/php.mdx @@ -36,7 +36,7 @@ You can specify the PHP version you want to use in `composer.json`: ```json "require": { - "php": "7.4" + "php": "7.4.x" } ```