ZeroMQ is a high-performance asynchronous messaging library, aimed at use in distributed or concurrent applications. It provides a message queue, but unlike message-oriented middleware, a ZeroMQ system can run without a dedicated message broker.
Wikipedia ZeroMQ
Steps to install zeroMQ in PHP 5.3, PHP 7.1, and 7.2 on Windows
but you may have a x32 version of PHP
extract and copy the dlls
copy
C:\wamp\bin\php\php5.3.4
there is no
copy
C:\wamp\bin\php\php5.3.4\ext
add the extension to your php.ini,
usually with the other Dynamic Extensions
extract and copy the dlls
copy
C:\laragon\bin\php\php-7.1.20-Win32-VC14-x64
there is an extra dll
copy
C:\laragon\bin\php\php-7.1.20-Win32-VC14-x64\ext
add the extension to your php.ini, usually with the other Dynamic Extensions
extract and copy the dlls
copy
C:\laragon\bin\php\php-7.2.11-Win32-VC15-x64
there is no
copy
C:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext
add the extension to your php.ini, usually with the other Dynamic Extensions
Steps to install zeroMQ in PHP 5.3, PHP 7.1, and 7.2 on Windows
- download the appropriate dll for you version of PHP and OS
zmq at php pecl
zmq 1.1.2 for PHP 5.3 to 5.6
zmq 1.1.3 for PHP 7.0 to 7.2
but you may have a x32 version of PHP
$ php -i | grep Architecture
Architecture => x64
- for PHP 5.3
extract and copy the dlls
copy
libzmq.dll
intoC:\wamp\bin\php\php5.3.4
there is no
libsodium.dll
in PHP 5.3 copy
php_zmq.dll
intoC:\wamp\bin\php\php5.3.4\ext
add the extension to your php.ini,
usually with the other Dynamic Extensions
extension=php_zmq.dll
- for PHP 7.1
extract and copy the dlls
copy
libzmq.dll
and libsodium.dll
intoC:\laragon\bin\php\php-7.1.20-Win32-VC14-x64
there is an extra dll
libsodium.dll
for PHP 7.1 copy
php_zmq.dll
intoC:\laragon\bin\php\php-7.1.20-Win32-VC14-x64\ext
add the extension to your php.ini, usually with the other Dynamic Extensions
extension=php_zmq.dll
- for PHP 7.2
extract and copy the dlls
copy
libzmq.dll
intoC:\laragon\bin\php\php-7.2.11-Win32-VC15-x64
there is no
libsodium.dll
after PHP 7.1 copy
php_zmq.dll
intoC:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext
add the extension to your php.ini, usually with the other Dynamic Extensions
extension=zmq
- verify by viewing php info
$ php -i | grep zmq
zmq
libzmq version => 4.1.3
-End of Document-Thanks for reading
No comments:
Post a Comment