appcfg.py:错误:解析app \ app.yaml时出错:无法分配值' php55'归因于'运行时'

时间:2015-05-12 05:03:51

标签: php google-app-engine app.yaml

用法:appcfg.py [options] update <directory> | [file, ...]

appcfg.py :错误:

 Error parsing app\app.yaml: Unable to assign value 'php55' to
attribute 'runtime':
    Value 'php55' for runtime does not match expression '^(?:contrib-dart|dart|go|ph
    p|python|python27|java|java7|vm|custom)$'
    in "app\app.yaml", line 4, column 10.

最初我得到了关注;但在将php更新为php55后,我遇到了错误。

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 

我正在使用AppEngine 1.9.18版并使用命令appcfg.py udpate my_app

如何解决这个问题?

1 个答案:

答案 0 :(得分:2)

将App Engine版本更新为1.9.20

后问题解决了