composer 安装 lucms Installation request for laravel/horizon v1.3.1 -> satisfiable by laravel/hor

 

C:\work\phpstudy\PHPTutorial\WWW\DEMO\lucms>composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for laravel/horizon v1.3.1 -> satisfiable by laravel/horizon[v1.3.1].
    - laravel/horizon v1.3.1 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:\work\phpstudy\PHPTutorial\php\php-7.1.13-nts\php.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

出现这种错误解决方案

1、composer install --ignore-platform-reqs ext-pcntl ext-posix

C:\work\phpstudy\PHPTutorial\WWW\DEMO\lucms>composer install --ignore-platform-reqs ext-pcntl ext-posix
Invalid argument ext-pcntl ext-posix. Use "composer require ext-pcntl ext-posix" instead to add packages to your composer.json.

2、composer install --ignore-platform-reqs

C:\work\phpstudy\PHPTutorial\WWW\DEMO\lucms>composer install --ignore-platform-reqs
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 101 installs, 0 updates, 0 removals
  - Installing symfony/thanks (v1.0.7): Downloading (100%)
    。。。。。。。。

 

你可能感兴趣的:(laravel)