Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't install zmq extension. #60

Closed
Brian1111 opened this issue May 4, 2020 · 3 comments
Closed

I can't install zmq extension. #60

Brian1111 opened this issue May 4, 2020 · 3 comments
Labels

Comments

@Brian1111
Copy link

I tried everything, but nothing works. I looked at all the information on the Internet. I have Windows 10 PC. I am using ZeroMQ with Ratchet php server.

Specifically this is the problem:

Problem 1 - Installation request for react/zmq 0.4.0 -> satisfiable by react/zmq[v0.4.0]. - react/zmq v0.4.0 requires ext-zmq * -> the requested PHP extension zmq is missing from your system.

The is how my composer.json file looks like:

{ "autoload": { "psr-4": { "MyApp\\": "src" } }, "require": { "cboden/ratchet": "^0.4.2", "react/zmq": "0.4.0" } }

Attached is the screenshot of the error that I am getting on Git bash.

zmq_ext_problem

@clue clue added the question label May 5, 2020
@clue
Copy link
Contributor

clue commented May 5, 2020

react/zmq v0.4.0 requires ext-zmq

This means you need to have ext-zmq installed before being able to install react/zmq. The beginning of your composer output indicates you've configured your PHP installation to load php_zmq.so.dll which it failed to load. The file extension looks a bit weird, so first make sure you fix your installation so that php -m successfully reports this extension.

Unfortunately, the underlying extension ext-zmq is somewhat dated and it's currently unclear when it will be updated (see also #58). Their issue board suggests they're currently looking for a new maintainer, so let's see how this situation evolves over time.

I hope this helps 👍

@clue clue closed this as completed May 5, 2020
@Brian1111
Copy link
Author

Brian1111 commented May 5, 2020

Can you clarify what should I do for now? I can install older versions of php, zmq, and zmq extension. Which version works with what? I clicked the link to zmq extension that you provided. The latest version is 1.1.3 beta released on 2016. Which version of php and zmq works with this extension? And please clarify how I should place the zmq extension inside php file.

@Brian1111
Copy link
Author

I could make zmq work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants