本文介绍了支持DB2和IBM Cloud php应用程序的github php buildpack的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在IBM Cloud上有一个PHP应用程序,该应用程序已连接到可以正常运行2年的DB2实例(也在IBM Cloud上)

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

直到9月16日,我们将与我们的PHP应用程序一起使用(以便它可以通过db2_connect连接到DB2 PHP函数。)

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.)

cflinuxfs3 升级后,buildpack无法正常工作,我们被迫使用

Now after the cflinuxfs3 upgrade that buildpack does not work and we are forced to use the

但是,这个新的buildpack不支持DB2连接。尝试使用此buildpack时,我运行日志时发现以下错误:

however, This new buildpack does not support DB2 connections. When trying to use this buildpack I run a log I find this error :

我在上下搜索了一个既支持DB2连接又与IBM Cloud Foundry上的cflinuxfx3兼容的buildpack。

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.

有人知道这样的构建包吗?

Does anyone know of such a buildpack?

推荐答案

有一条公告: br>


IBM Cloud上的Swift Buildpack现在支持cflinuxfs3并包括新的运行时


There was an announcement:

Swift Buildpack on IBM Cloud Now Supports cflinuxfs3 and Includes New Runtimes
https://www.ibm.com/cloud/blog/announcements/the-swift-buildpack-versions-2020-and-210-are-now-available-on-ibm-cloud

此处是从URL中摘录的:

Here is snipped from the URL:

Swift buildpack版本2.0.20和2.1.0现在可用可以在IBM Cloud上使用。

The Swift buildpack versions 2.0.20 and 2.1.0 are now available on IBM Cloud.

这些构建包将Swift版本5.0作为默认运行时,并缓存了4.2.4版本。在重新部署之前,现有的应用程序将不受新的buildpack的影响。重新部署后,现有应用程序应继续按原样运行,而无需进行任何其他更改。新的应用程序将自动使用新的buildpack。 Swift buildpack版本2.1.0仅支持cflinuxfs3,而版本2.0.20仅支持cflinuxfs2。

These buildpacks provide Swift version 5.0 as the default runtime and caches version 4.2.4. An existing application will not be affected by the new buildpack until you redeploy it. After you redeploy, existing applications should continue to run "as is" without any additional changes. New applications will automatically use the new buildpack. Swift buildpack verison 2.1.0 supports cflinuxfs3 only and version 2.0.20 supports cflinuxfs2 only.

希望这会有所帮助。

这篇关于支持DB2和IBM Cloud php应用程序的github php buildpack的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-11 20:39