【发布时间】:2020-08-02 08:20:24
【问题描述】:
我一直在寻找如何将自定义扩展sqlsrv 添加到我在 Google Cloud 的 App Engine 上的 PHP 运行时。
浏览了app engine上的文档,发现有预装模块和其他一些可以激活的模块(https://cloud.google.com/appengine/docs/standard/php/runtime#enabled_extensions)
但是,我似乎无法连接到 SQL Server 实例,因为 sqlsrv_connect 扩展不可用并且我的代码库高度依赖它。
https://www.php.net/manual/en/function.sqlsrv-connect.php
有人可以指导我如何在我的应用引擎标准环境中启用此扩展程序吗?
error: Uncaught Error: Call to undefined function sqlsrv_connect()
【问题讨论】:
标签: php sql-server google-app-engine google-cloud-platform php-5.6