我有我的magento 2网站,我想使用以下命令安装一个模块
composer require eway/eway-rapid-magento2 3.0.1
但我得到以下错误
magento/framework 100.1.15 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.27) does not satisfy that requirement.
请让我知道如何解决这个问题。
谢谢
忽略平台要求(php和ext-packages)。
composer require eway/eway-rapid-magento2 3.0.1 --ignore-platform-reqs
如前所述,php版本对于这个模块版本是不正确的,所以要么更新php版本,要么更新模块版本,哪个版本满足php版本。