欢迎光临
我们一直在努力

Composer install 报错:laravel/horizon v1.4.3 requires ext-pcntl * -> the requested PHP extension pcntl

错误提示:

laravel/horizon v1.4.3 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system

决办法:

在 composer.json 中增加

    "config": {
        "preferred-install": "dist",
        "sort-packages": true,
        "optimize-autoloader": true,
        "platform": {
            "ext-pcntl": "7.2",
            "ext-posix": "7.2"
        }
    }
赞(1)
版权归原作者所有,如有侵权请告知。达维营-前端网 » Composer install 报错:laravel/horizon v1.4.3 requires ext-pcntl * -> the requested PHP extension pcntl

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址