2.17.4版本在mac m2下安装,有个依赖不支持php8.1,请问如何调整呢?

安装报错 · wangwei · 于 1个月前 发布 · 91 次阅读

Problem 1

- league/iso3166[2.1.0, ..., 2.1.1] require php ^5.6 || ^7.0 -> your php version (8.1.27) does not satisfy that requirement.
- league/iso3166[2.1.2, ..., 2.1.5] require php ^7.0 -> your php version (8.1.27) does not satisfy that requirement.
- fancyecommerce/fecshop 2.17.4 requires league/iso3166 ^2.1 -> satisfiable by league/iso3166[2.1.0, ..., 2.1.5].
- Root composer.json requires fancyecommerce/fecshop 2.17.4 -> satisfiable by fancyecommerce/fecshop[2.17.4].
共收到 4 条回复
1楼 已删除.
wangwei#21个月前 0 个赞

@Fecmall

wangwei#31个月前 0 个赞

网上查到一种方法是 composer install --ignore-platform-req=php 相当于直接忽略php的版本进行安装,我试了可以装成功,看了一下league/iso3166这个里面的代码也没啥特别的地方,感觉忽略php版本直接安装应该没什么大问题,大佬看看对吗?

Fecmall#46天前 0 个赞

使用php-7.1

添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
Your Site Analytics