A
A
alex94562016-04-05 00:51:48
PHP
alex9456, 2016-04-05 00:51:48

ZeroMQ on PHP7 Windows?

The extension does not work in WAMP(php7), however, I downloaded the php7 (64 TS) version separately. Error Warning: PHP Startup: Unable to load dynamic library 'C:/123/ext/php_zmq.dll' in Unknown on line 0
Searching - found that the extension is not suitable for php7, but https://pecl.php.net/package/zmq/1.1.3/windows - Introduces PHP7 support.
On php 5.6 it started like clockwork (PHP7 is required)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denys Gavryliv, 2017-08-02
@dgavryliv

Everything works for me, version PHP 7.0.2.
Installing ZMQ for Windows:
1. Download the archive for your version of PHP from https://pecl.php.net/package/zmq/1.1.3/windows
2. Copy the php_zmq.dll file from the archive to a folder with extensions (eg. С:\PHP\ext)
3. Add php_zmq.dll to php.ini (extension=php_zmq.dll)
3. Copy libzmq.dll and libsodium.dll from archive to PHP root directory (eg C:\PHP)
4. Restart apache.

A
Alexander Ananiev, 2016-04-05
@SaNNy32

PHP7 support is available in beta. Are you sure you are using this beta?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question