Reputation: 251
Problems
When I run command: composer install it creating error.
And also how to install extension on php.init.
extension=php_curl.dll
Upvotes: 23
Views: 38248
Reputation: 3879
We can resolve this issue by following way.
Your options are as follows:
composer update --ignore-platform-reqs
Upvotes: 0
Reputation: 527
I know this is an old one, but I ran into the same problem and with this switch just solved it:
composer install --ignore-platform-reqs
Upvotes: 30
Reputation: 828
I had the same problem on my system (OpenSUSE, PHP7). Simply installing php7-pcntl solved my problem.
Upvotes: 0
Reputation: 5613
Solved my problem updating and ignoring requested PHP extensions:
composer update --ignore-platform-reqs
Upvotes: 10
Reputation: 3801
http://php.net/manual/en/pcntl.installation.php
Process Control support in PHP is not enabled by default. You have to compile the CGI or CLI version of PHP with --enable-pcntl configuration option when compiling PHP to enable Process Control support.
Note: Currently, this module will not function on non-Unix platforms (Windows).
Upvotes: 9