Yes you need to install the pcntl extension for php. How are you running php?
php extension ext-pcntl
Hello guys when I m installing my package in laravel it through PHP extension error
composer require sty/hutton
Using version dev-main for sty/hutton ./composer.json has been updated Running composer update sty/hutton Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.
Problem 1 - Root composer.json requires PHP extension ext-pcntl * but it is missing from your system. Install or enable PHP's pcntl extension.
Problem 2 - Root composer.json requires PHP extension ext-posix * but it is missing from your system. Install or enable PHP's posix extension.
Problem 3 - laravel/horizon is locked to version v5.9.1 and an update of this package was not requested. - laravel/horizon v5.9.1 requires ext-pcntl * -> it is missing from your system. Install or enable PHP's pcntl extension.
To enable extensions, verify that they are enabled in your .ini files:
- C:\xampp8.0\php\php.ini
You can also run php --ini in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with --ignore-platform-req=ext-pcntl --ignore-platform-req=ext-posix --ignore-platform-req=ext-pcntl to temporarily ignore these required extensions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require sty/hutton:*" to figure out if any version is installable, or "composer require sty/hutton:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Please or to participate in this conversation.