相关疑难解决方法(0)

如何解决"laravel/horizo​​n v1.1.0需要ext-pcntl* - >系统中缺少所请求的PHP扩展pcntl"?

当我composer install在命令提示符上运行时,会出现如下错误:

  Problem 1
    - Installation request for laravel/horizon v1.1.0 -> satisfiable by laravel/horizon[v1.1.0].
    - laravel/horizon v1.1.0 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.

  To enable extensions, verify that they are enabled in your .ini files:
    - C:\xampp-7.1\php\php.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Run Code Online (Sandbox Code Playgroud)

我该如何解决这个错误?

php laravel composer-php laravel-5.5 laravel-horizon

22
推荐指数
7
解决办法
2万
查看次数