我正在尝试在新环境中安装Laravel 5.6。
在我的本地环境中,一切设置都很好。当我部署到Elastic Beanstalk时,我遇到了一个问题,即依赖关系迫使服务器重新回到PHP v7.0.33。
Laravel的文档如何说5.6版需要PHP 7.1.3及更高版本,但是依赖关系迫使我回到7.0.33?
这是Composer中PHP的依赖项列表(我删除了不相关的依赖项):
composer/ca-bundle 1.1.4 requires php (^5.3.2 || ^7.0)
composer/composer 1.8.4 requires php (^5.3.2 || ^7.0)
composer/semver 1.4.2 requires php (^5.3.2 || ^7.0)
composer/spdx-licenses 1.5.0 requires php (^5.3.2 || ^7.0)
composer/xdebug-handler 1.3.2 requires php (^5.3.2 || ^7.0)
filp/whoops 2.3.1 requires php (^5.5.9 || ^7.0)
fzaninotto/faker v1.8.0 requires php (^5.3.3 || ^7.0)
hamcrest/hamcrest-php v2.0.0 requires php (^5.3||^7.0)
phar-io/manifest 1.0.3 requires php (^5.6 || ^7.0)
phar-io/version 2.0.1 requires php (^5.6 || ^7.0)
phpdocumentor/reflection-docblock 4.3.0 requires php (^7.0)
phpdocumentor/type-resolver 0.4.0 requires php (^5.5 || ^7.0)
phpspec/prophecy 1.8.0 requires php (^5.3|^7.0)
ramsey/uuid 3.8.0 requires php (^5.4 || ^7.0)
sebastian/code-unit-reverse-lookup 1.0.1 requires php (^5.6 || ^7.0)
seld/jsonlint 1.7.1 requires php (^5.3 || ^7.0)
theseer/tokenizer 1.1.0 requires php (^7.0)
tijsverkoyen/css-to-inline-styles 2.2.1 requires php (^5.5 || ^7.0)
webmozart/assert 1.4.0 requires php (^5.3.3 || ^7.0)
在我看来,所有这些依赖性都不允许安装高于最高版本的PHP 7.0的安装。我读错了吗?