问题:
the requested PHP extension pcntl is missing from your system.

原因:
默认composer更新或安装某个插件时,会检查所有插件的依赖PHP扩展及版本是否合适,这会浪费时间并影响正常的插件安装,因此可以设置参数忽略这样的检查,方式就是在composer更新或安装插件的命令后加参数 --ignore-platform-reqs ,也就会忽略平台依赖的检查
composer require fatrbaby/hellobase --ignore-platform-reqs

composer update --ignore-platform-reqs

网友评论