加入收藏 | 设为首页 | 会员中心 | 我要投稿 莱芜站长网 (https://www.0634zz.com/)- 云连接、建站、智能边缘云、设备管理、大数据!
当前位置: 首页 > 编程开发 > PHP > 正文

当我尝试将我的PHP应用程序部署到Google App Engine时,为什么我突然出现了400个错误?

发布时间:2020-07-16 01:17:53 所属栏目:PHP 来源:互联网
导读:运行deploy命令: appcfg.py update ./appengine-project 我开始看到这个错误: Error 400: --- begin server output ---PHP 5.4 applications are prevented from being deployed to Google AppEngine from any version of the S

运行deploy命令:

appcfg.py update ./appengine-project

我开始看到这个错误:

Error 400: --- begin server output ---
PHP 5.4 applications are prevented from being deployed to Google App
Engine from any version of the SDK,including older ones. If you need
to continue to deploy PHP 5.4 applications for compatibility reasons,you can request that your application be whitelisted for PHP 5.4
deployment by visiting http://goo.gl/qjKEuk.
--- end server output ---

我在本地运行PHP 5.5.而且我几天前就部署了我的应用程序,没有问题.

This Google Groups post here让我整理出来

在我的app.yaml文件中,我只需要改变这一行:

runtime: php

至:

runtime: php55

之后,部署成功了.

(编辑:莱芜站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读