部署到AWS时Symfony 2.7应用程序上的Composer问题 - Elastic Beanstalk

时间:2015-12-10 16:00:09

标签: php symfony amazon-web-services

我几乎整天都在尝试在EB上部署symfony应用程序。最初我运行symfony 3.0,然后降级到2.7,因为我认为它可能有助于版本

无论如何,试着让2.7立即运行并且我的日志中出现以下错误 -

 + PHP_COMPOSER_OPTIONS=
 + echo 'Found composer.json file. Attempting to install vendors.'
 Found composer.json file. Attempting to install vendors.
 + composer.phar install --no-ansi --no-interaction
 Loading composer repositories with package information
 Installing dependencies (including require-dev) from lock file
 Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Your requirements could not be resolved to an installable set of packages.

Problem 1
  - This package requires php >=5.5.9 but your PHP version (5.4.45) does not satisfy that requirement.
Problem 2
  - Installation request for symfony/symfony v3.0.0 -> satisfiable by symfony/symfony[v3.0.0].
  - symfony/symfony v3.0.0 requires php >=5.5.9 -> your PHP version (5.4.45) or "config.platform.php" value does not satisfy that requirement.
Problem 3
  - symfony/symfony v3.0.0 requires php >=5.5.9 -> your PHP version (5.4.45) or "config.platform.php" value does not satisfy that requirement.
  - sensio/generator-bundle v3.0.0 requires symfony/console ~2.7|~3.0 -> satisfiable by symfony/symfony[v3.0.0].
  - Installation request for sensio/generator-bundle v3.0.0 -> satisfiable by sensio/generator-bundle[v3.0.0].
    (Executor::NonZeroExitStatus)

有人有什么建议吗?即使是一个非常简单易懂的关于如何将symfony应用程序部署到AWS的教程,我到目前为止一直在关注此错误但错误错误... http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_PHP_symfony2.html

感谢提前的任何帮助!?:)

0 个答案:

没有答案