chrisboulton / php-resque

PHP port of resque (Workers and Queueing)
MIT License
3.43k stars 759 forks source link

Package could't install, missing package ext-pcntl-0.0.0.0 #340

Closed jasverix closed 7 years ago

jasverix commented 7 years ago

Hi,

May you please remove that requirement over to suggestions? The package won't install on our linux servers.

danhunsaker commented 7 years ago

It's a hard requirement - without pcntl, forking doesn't work, and essentially the entire project stops working properly. Please install pcntl and try again.

jasverix commented 7 years ago

We have pcntl installed and working - it is just composer that does not understand that.

I created a pull request #341 for this issue - newie to github, sorry.

jasverix commented 7 years ago

image

Screenshot of the exception from composer.

danhunsaker commented 7 years ago

In that case, ensure the extension is actually enabled for the CLI SAPI, because Composer can't detect something that isn't loaded. This is a local configuration issue, not a repo issue.

jasverix commented 7 years ago

We also have six developers on Windows machines, running Resque locally, because we have operations requiring Resque. PHP on windows is not default compiled with pcntl, but that is no problem on local developer computers.

My only hope is that you can move it from requirements to suggestions and write something about it, like I did in #341. But if it is not possible, then I will create a fork.