With PHP 5.5 no longer being actively supported and security support ending in a few months I thought it might be a good idea to upgrade. I use GAE and I thought this would be as simple as changing
随着PHP 5.5不再受到积极支持,安全支持在几个月内结束,我认为升级可能是个好主意。我使用GAE,我认为这就像改变一样简单
runtime: php55
in my application's app.yaml
file to
在我的应用程序的app.yaml文件中
runtime: php56
but I get the error
但我得到了错误
Updating module [default]...-ERROR: (gcloud.preview.app.deploy) Server responded with code [400]:
更新模块[默认] ...-错误:(gcloud.preview.app.deploy)服务器响应代码[400]:
Bad Request Unexpected HTTP status 400.
错误请求意外的HTTP状态400。
Invalid runtime or the current user is not authorized to use it.
无效的运行时或当前用户无权使用它。
I have searched Google's documentation, but I can't seem to figure out how to specify another version of PHP.
我搜索过谷歌的文档,但我似乎无法弄清楚如何指定另一个版本的PHP。
1 个解决方案
#1
1
Only PHP 5.5 is supported currently.
目前仅支持PHP 5.5。
If you want to use 5.6 or above, consider Managed VMs (with a custom runtime).
如果要使用5.6或更高版本,请考虑托管VM(具有自定义运行时)。
Worth noting that Managed VMs are currently avert different "beast" and do not have the same features, support or characteristics as AppEngine.
值得注意的是,托管虚拟机目前避免使用不同的“野兽”,并且没有与AppEngine相同的功能,支持或特性。
https://cloud.google.com/appengine/docs/managed-vms/
https://cloud.google.com/appengine/docs/managed-vms/
#1
1
Only PHP 5.5 is supported currently.
目前仅支持PHP 5.5。
If you want to use 5.6 or above, consider Managed VMs (with a custom runtime).
如果要使用5.6或更高版本,请考虑托管VM(具有自定义运行时)。
Worth noting that Managed VMs are currently avert different "beast" and do not have the same features, support or characteristics as AppEngine.
值得注意的是,托管虚拟机目前避免使用不同的“野兽”,并且没有与AppEngine相同的功能,支持或特性。
https://cloud.google.com/appengine/docs/managed-vms/
https://cloud.google.com/appengine/docs/managed-vms/