diff --git a/docs-cn/07-develop/01-connect/index.md b/docs-cn/07-develop/01-connect/index.md index 3a15d03f93cee7dd064f29b4911019cae3632b9a..4abceb884fbaaed82da82fe7f712922163b5c450 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 20894eb8939fcf00b9bab6f4d43b478a73331b5a..8ee9fba2affac26e733bd842424d40cb0a79ff3a 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 0a5a0fdb31639f7a3f77c31719c6bb658cc31459..04302b7b4b398ff8a9899b9b95f0f4e4e3e6cb81 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 环境:**