[英]How to fix magento 2 error while installing one module
我有我的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版本。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.