【发布时间】:2017-09-10 18:14:25
【问题描述】:
我有以下app.yaml:
application: myapp
version: 3
runtime: php55
api_version: 1
threadsafe: yes
handlers:
- url: /favicon\.ico
static_files: favicon.ico
upload: favicon\.ico
- url: /
script: main.php
- url: /src
static_dir: src
- url: /vendor
static_dir: vendor
但是,当我部署它时,控制台显示错误:
appcfg.py: error: Error parsing C:\app.yaml: w
hile parsing a block mapping
in "C:\app.yaml", line 15, column 3
expected <block end>, but found '-'
in "C:\app.yaml", line 18, column 3.
代码类似于https://cloud.google.com/appengine/docs/standard/php/config/appref中的Google参考
它有什么问题?谢谢
【问题讨论】:
标签: php google-app-engine