无法启动googleappengine launcer .format(module_configuration.env,_ALLOWED_RUNTIMES_ENV_FLEX

时间:2017-09-08 16:07:38

标签: php python wordpress google-app-engine google-app-engine-launch

按照本教程https://cloud.google.com/php/tutorials/wordpress-app-engine-flexible

一切顺利。当我开始运行googleAppEngineLauncer时,它会在最后一行日志中抛出此错误。

.format(module_configuration.env, _ALLOWED_RUNTIMES_ENV_FLEX)) google.appengine.tools.devappserver2.errors.InvalidAppConfigError: In env: flex, only the following runtimes are allowed: ('python-compat', 'java', 'java7', 'go', 'custom')

我的app.yml看起来像这样

runtime: php
env: flex

beta_settings:
cloud_sql_instances: myproject-id:europe-west1:wp

runtime_config:
document_root: wordpress

env_variables:
WHITELIST_FUNCTIONS: escapeshellarg,escapeshellcmd,exec,pclose,popen,shell_exec,phpversion,php_uname

我尝试使用customphp55,但仍然出错。

0 个答案:

没有答案