报错:
Root composer.json requires PHP extension ext-pcntl * but it is missing from your system. Install or enable PHP’s pcntl extension.
解决方法:
在composer.json中增加
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true,
"platform": {
"ext-pcntl": "7.2",
"ext-posix": "7.2"
}
},