ZMQ on Xampp

I have an app run by laravel and experienced this error when i run composer install command from CLI.

Problem 1
 - Installation request for react/zmq v0.3.0 -> satisfiable by react/zmq[v0.3.0].
 - react/zmq v0.3.0 requires ext-zmq * -> the requested PHP extension zmq is missing from your system.
To enable extensions, verify that they are enabled in those .ini files:
 - C:\xampp\php\php.ini
 You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

Here are some awesome ways to deal with that issue.
1.  Download all dll here to your matching OS.
Make sure you got the right one (x86 or x64) and that it is either thread safe or non-      thread safe. How would you know? Time to play DLL roulette.
2. Copy libzmq.dll to your ~/xampp/php/
3. Copy php_zmq.dll to your php extension directory (eg. ~/xampp/php/ext/)
4. Then add this to your php.ini extension=php_zmq.dll



3 thoughts on “ZMQ on Xampp

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s