简体   繁体   English

github php buildpack 支持 DB2 和 IBM Cloud ZE1BFD762321E409CEE4AC0B6E8419

[英]github php buildpack supporting DB2 and IBM Cloud php app

We have a PHP app on IBM Cloud connected to an instance of DB2 (also on IBM Cloud) that has been working flawlessly for 2 years我们在 IBM Cloud 上有一个 PHP 应用程序连接到 DB2 实例(也在 IBM Cloud 上),该应用程序已经完美运行了 2 年

Up until Sept 16th, we used the buildbpack with our PHP app (so that it could connect to DB2 via the db2_connect PHP function.) Up until Sept 16th, we used the buildbpack with our PHP app (so that it could connect to DB2 via the db2_connect PHP function.)

Now after the cflinuxfs3 upgrade that buildpack does not work and we are forced to use the现在在cflinuxfs3升级之后 buildpack 不起作用,我们被迫使用

" "php_buildpack" community buildpack already installed in Cloud Foundry". " "php_buildpack" 社区 buildpack 已安装在 Cloud Foundry 中"。

however, This new buildpack does not support DB2 connections.但是,这个新的 buildpack 不支持 DB2 连接。 When trying to use this buildpack I run a log I find this error:尝试使用此 buildpack 时,我运行了一个日志,发现此错误:

"undefined function: db2_connect()". “未定义的 function:db2_connect()”。

I've searched high and low for a buildpack that would both support connections to DB2 and be compatible with cflinuxfx3 on IBM Cloud Foundry.我一直在寻找既支持与 DB2 的连接又与 IBM Cloud Foundry 上的 cflinuxfx3 兼容的构建包。

Does anyone know of such a buildpack?有谁知道这样的构建包?

There was an announcement:有一个公告:

Swift Buildpack on IBM Cloud Now Supports cflinuxfs3 and Includes New Runtimes IBM Cloud 上的 Swift Buildpack 现在支持 cflinuxfs3 并包含新的运行时
https://www.ibm.com/cloud/blog/announcements/the-swift-buildpack-versions-2020-and-210-are-now-available-on-ibm-cloud https://www.ibm.com/cloud/blog/announcements/the-swift-buildpack-versions-2020-and-210-are-now-available-on-ibm-cloud

Here is snipped from the URL:这是从 URL 中截取的:


The Swift buildpack versions 2.0.20 and 2.1.0 are now available on IBM Cloud. Swift buildpack 版本 2.0.20 和 2.1.0 现在在 IBM Cloud 上可用。

These buildpacks provide Swift version 5.0 as the default runtime and caches version 4.2.4.这些构建包提供 Swift 5.0 版作为默认运行时并缓存 4.2.4 版。 An existing application will not be affected by the new buildpack until you redeploy it.在您重新部署现有应用程序之前,它不会受到新 buildpack 的影响。 After you redeploy, existing applications should continue to run "as is" without any additional changes.重新部署后,现有应用程序应继续“按原样”运行,无需任何额外更改。 New applications will automatically use the new buildpack.新应用程序将自动使用新的 buildpack。 Swift buildpack verison 2.1.0 supports cflinuxfs3 only and version 2.0.20 supports cflinuxfs2 only. Swift buildpack 2.1.0 版仅支持 cflinuxfs3,2.0.20 版仅支持 cflinuxfs2。


Hope this helps.希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM