From 1da049a0321058e2cee3a4e02f2acd702e4f3aaa Mon Sep 17 00:00:00 2001 From: Yurun Date: Tue, 31 May 2022 17:57:55 +0800 Subject: [PATCH] Update --- docs-cn/07-develop/01-connect/index.md | 2 +- docs-cn/14-reference/03-connector/php.mdx | 12 ++++++++++++ documentation20/cn/08.connector/03.php/docs.md | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/docs-cn/07-develop/01-connect/index.md b/docs-cn/07-develop/01-connect/index.md index 3a15d03f93..4abceb884f 100644 --- a/docs-cn/07-develop/01-connect/index.md +++ b/docs-cn/07-develop/01-connect/index.md @@ -212,7 +212,7 @@ curl -L -o php-tdengine.tar.gz https://github.com/Yurunsoft/php-tdengine/archive && tar -xzf php-tdengine.tar.gz -C php-tdengine --strip-components=1 ``` -> 版本 `v1.0.0` 可替换为任意更新的版本,可在 Release 中查看最新版本。 +> 版本 `v1.0.2` 可替换为任意更新的版本,可在 Release 中查看最新版本。 **非 Swoole 环境:** diff --git a/docs-cn/14-reference/03-connector/php.mdx b/docs-cn/14-reference/03-connector/php.mdx index 20894eb893..8ee9fba2af 100644 --- a/docs-cn/14-reference/03-connector/php.mdx +++ b/docs-cn/14-reference/03-connector/php.mdx @@ -8,6 +8,8 @@ title: PHP Connector PHP 连接器依赖 TDengine 客户端驱动,其安装方式与 C/C++ 驱动相同。 +项目地址: + TDengine 服务端或客户端安装后,`taos.h` 位于: - Linux:`/usr/local/taos/include` @@ -40,6 +42,16 @@ TDengine 客户端驱动的安装请参考 [安装指南](/reference/connector# ### 编译安装 php-tdengine +**下载代码并解压:** + +```shell +curl -L -o php-tdengine.tar.gz https://github.com/Yurunsoft/php-tdengine/archive/refs/tags/v1.0.2.tar.gz \ +&& mkdir php-tdengine \ +&& tar -xzf php-tdengine.tar.gz -C php-tdengine --strip-components=1 +``` + +> 版本 `v1.0.2` 可替换为任意更新的版本,可在 Release 中查看最新版本。 + **非 Swoole 环境:** ```shell diff --git a/documentation20/cn/08.connector/03.php/docs.md b/documentation20/cn/08.connector/03.php/docs.md index 0a5a0fdb31..04302b7b4b 100644 --- a/documentation20/cn/08.connector/03.php/docs.md +++ b/documentation20/cn/08.connector/03.php/docs.md @@ -31,7 +31,7 @@ curl -L -o php-tdengine.tar.gz https://github.com/Yurunsoft/php-tdengine/archive && tar -xzf php-tdengine.tar.gz -C php-tdengine --strip-components=1 ``` -> 版本 `v1.0.0` 可替换为任意更新的版本,可在 Release 中查看最新版本。 +> 版本 `v1.0.2` 可替换为任意更新的版本,可在 Release 中查看最新版本。 **非 Swoole 环境:** -- GitLab