duankuang1046 2015-05-07 06:25
浏览 97
已采纳

错误400:阻止将PHP 5.4应用程序部署到Google App Engine

This is my app.yaml file:

application: xxxxxxxxxxxxx
version: 1
runtime: php55
api_version: 1
threadsafe: true

handlers:

- url: /images
  static_dir: images

- url: /css
  static_dir: css

- url: /js
  static_dir: js

- url: /libraries
  static_dir: libraries

- url: /
  script: main.php

# Serve php scripts.
- url: /(.+\.php)$
  script: \1

This is the error I get:

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

Can somebody please tell me why I still get this error after changing runtime from php to php55 in app.yaml?

  • 写回答

2条回答 默认 最新

  • dongza1708 2015-05-12 10:45
    关注

    PhpStorm plugin is still not compatible with deploying php55 apps. Deploying through Google App Engine Launcher works fine.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?