首页 Function Compute Function Compute FAQ Code development FAQ about PHP runtimes What do I do if I have a problem using the built-in Tablestore PHP SDKs in a PHP runtime?

What do I do if I have a problem using the built-in Tablestore PHP SDKs in a PHP runtime?

更新时间: 2026-04-01 08:18:46

The built-in Protobuf extension conflicts with the Protobuf on which the Tablestore PHP SDK depends. As a result, the built-in Tablestore PHP SDKs in the PHP runtime environment cannot be used.

For more information, see Dynamically load and unload built-in extensions in the PHP runtime environment.

Solution

Use environment variables to remove the unnecessary Protobuf extension from the PHP runtime. This resolves the conflict and allows the Tablestore PHP SDK to function correctly.

Tip: We recommend that you use environment variables to remove any extensions your function does not need. Fewer loaded extensions means a faster cold start.
上一篇: Add or remove built-in PHP extensions 下一篇: What to do when Notices or Warnings in the PHP runtime cause a third-party library (aliyun-openapi-php-sdk) to fail?
阿里云首页 函数计算 相关技术圈