[英]When I try to deploy my PHP application to Google App Engine, why am I suddenly getting a 400 error?
Running the deploy command: 运行deploy命令:
appcfg.py update ./appengine-project
I started seeing this error: 我开始看到此错误:
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 ---
I am running PHP 5.5 locally. 我在本地运行PHP 5.5。 And I deployed my application just a couple days ago without issue. 我只是几天前就部署了我的应用程序,没有出现任何问题。
This Google Groups post here got me sorted out. 这篇Google网上论坛的帖子让我理清了。
In my app.yaml
file, I just needed to change this line: 在我的app.yaml
文件中,我只需要更改以下行:
runtime: php
to: 至:
runtime: php55
After that, the deploy succeeded. 之后,部署成功。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.