使用队列,加载依赖包 Composer 报错 ?
问题一:执行队列监听,不出现任何东西,发帖成功了也不显示任何东西?
php artisan queue:listen
问题二 :加载 Horizon 依赖包时出现问题。
composer require "laravel/horizon:~1.0"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel/horizon v1.2.3 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
- laravel/horizon v1.2.2 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
- laravel/horizon v1.2.1 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
- laravel/horizon v1.2.0 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
- laravel/horizon v1.1.1 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
- laravel/horizon v1.1.0 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
- laravel/horizon v1.0.9 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
- laravel/horizon v1.0.8 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
- laravel/horizon v1.0.7 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
- laravel/horizon v1.0.6 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
- laravel/horizon v1.0.5 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
- laravel/horizon v1.0.4 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
- laravel/horizon v1.0.3 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
- laravel/horizon v1.0.2 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
- laravel/horizon v1.0.1 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
- laravel/horizon v1.0.0 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
- Installation request for laravel/horizon ~1.0 -> satisfiable by laravel/horizon[v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9, v1.1.0, v1.1.1, v1.2.0, v1.2.1, v1.2.2, v1.2.3].
Installation failed, reverting ./composer.json to its original content.
求解 大神们。。。
推荐文章: