MUHAMMAD AHSAN
MUHAMMAD AHSAN

Reputation: 251

PHP pcntl module installation

Problems

  1. d11wtq/boris v1.0.10 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
  2. d11wtq/boris v1.0.10 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
  3. Installation request for d11wtq/boris v1.0.10 -> satisfiable by d11wtq/boris[v1.0.10].

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

Answers (6)

Mayank Dudakiya
Mayank Dudakiya

Reputation: 3879

We can resolve this issue by following way.

Your options are as follows:

  • Install the required extensions (best option)
  • Run composer with the --ignore-platform-reqs flag (very hacky) like composer update --ignore-platform-reqs
  • Upgrade to Laravel 5 (we no longer user boris for the tinker command)

Upvotes: 0

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

hadi.mansouri
hadi.mansouri

Reputation: 828

I had the same problem on my system (OpenSUSE, PHP7). Simply installing php7-pcntl solved my problem.

Upvotes: 0

Shapi
Shapi

Reputation: 5613

Solved my problem updating and ignoring requested PHP extensions:

composer update --ignore-platform-reqs

Upvotes: 10

PI.
PI.

Reputation: 1668

I fixed this by running composer update before install.

Upvotes: 26

Samuel
Samuel

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

Related Questions