composer install 出现Your PHP (7.2.1)does not satisfy that requirment

查看Composer的全局配置composer config -l -g

 

 

可以关闭platform-check配置,将此项配置改成 false 来禁用此功能,它默认值是php only。

更改Composer的全局配置composer config -g platform-check false

 

 文章来自 www.96net.com.cn

posted @ 2022-05-12 21:57  学无边涯  阅读(94)  评论(0编辑  收藏  举报