【发布时间】:2019-08-22 19:05:28
【问题描述】:
我有一个 PHP 应用程序,它在 Heroku 中运行良好,我已经上传了文件以尝试使用 amazon-web-services 使用 Elastic Beanstalk。
当我点击 URL 时,我收到 403 Forbidden 错误。
当我使用控制台打开应用程序时,我收到一条消息:
ERROR: ServiceError - 1 validation error detected: Value '[http://heatmapclydebank-env.csjaqh9cyk.us-west-2.elasticbeanstalk.com/]' at 'environmentNames' failed to satisfy constraint: Member must satisfy constraint: [Member must have length less than or equal to 40, Member must have length greater than or equal to 4]
我在网上找不到太多关于此错误的信息。这实际上告诉我什么以及如何在 AWS 中解决这个问题。
注意:这是一个自定义应用程序,普通 php,没有框架
【问题讨论】:
标签: php amazon-web-services amazon-elastic-beanstalk