0% found this document useful (0 votes)
209 views2 pages

WAMP Server and PHP ZeroMQ Extension Installation

This document provides instructions for installing the ZeroMQ PHP extension on a WAMP server platform. It outlines downloading and installing WAMP server, then downloading the appropriate ZeroMQ DLL extension based on the PHP version and system architecture. The DLL needs to be copied to the PHP EXT folder. The libzmq.dll file needs to be copied to the PHP or Apache folder. The php.ini file needs to be edited to load the extension. Restarting WAMP and checking phpinfo() is recommended to confirm successful installation. Some tips are provided about potentially ignoring WAMP path errors and removing PHP paths before changing versions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
209 views2 pages

WAMP Server and PHP ZeroMQ Extension Installation

This document provides instructions for installing the ZeroMQ PHP extension on a WAMP server platform. It outlines downloading and installing WAMP server, then downloading the appropriate ZeroMQ DLL extension based on the PHP version and system architecture. The DLL needs to be copied to the PHP EXT folder. The libzmq.dll file needs to be copied to the PHP or Apache folder. The php.ini file needs to be edited to load the extension. Restarting WAMP and checking phpinfo() is recommended to confirm successful installation. Some tips are provided about potentially ignoring WAMP path errors and removing PHP paths before changing versions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

3/20/2021 WAMP Server and PHP ZeroMQ Extension Installation | 3rnani.

com

3rnani.com

PHP

WAMP SERVER AND PHP ZEROMQ EXTENSION


INSTALLATION
SEPTEMBER 20, 2018 | ERNANI | LEAVE A COMMENT

I spend a lot of hours to do this , so I dont forget how it all works and all. ZeroMQ is a PHP extension that
allows PHP to do Websockets for live communication. When you do your development specially on a
Windows platform , Wamp is just my go to program to install to do some easy PHP development.

Follow these step:

1. After downloading and installing WAMP Server.


2. Download the DLL extension https://pecl.php.net/package/zmq . Make sure you download the ver-
sion for the PHP you are using. There is some stuff you need to consider before attempting this and
making sure you get the right one.
Thread Safety or Non-thread Safety. Make sure you choose the one appropriate with your PHP
installation. Check phpinfo() to see whether its TS or Non-TS.
Also check you have the Visual C++ Redistributable installed. Again see the version of VC++ Re-
distributable you need in phpinfo() VC11 is usually version 2012.
Finally check whether you are running x86(32bit) or 64 bit version of WAMP.
3. Then move php_zmq.dll in your EXT folder of your PHP directory.
4. Importantly either/both copy libzmq.dll in your root PHP folder or APACHE folder. This is the one Im
having issues with.
5. Now add a line in your php.ini “extension=php_zmq.dll” through your wamp icon and inside your PHP
folder ini. This allows zmq loaded on your CLI too.
6. When you restart WAMP and you dont see any changes happening. Check for the PHP_LOG if there
is any error. Usually there will be but if not. You are good to go. Also RESTART WINDOWS. And
double check in your phpinfo() if the extension has been loaded or not.
7. And you should be done!

IMPORTANT NOTE AND TIPS:

Privacy - Terms

https://3rnani.com/wamp-server-and-php-zeromq-extension-installation/ 1/2
3/20/2021 WAMP Server and PHP ZeroMQ Extension Installation | 3rnani.com

Sometimes or most likely WAMP will complain about PHP folder is in your PATH environment variables.
We de nitely want PHP on there and Composer need this path. You can ignore the error by going to
WAMP icon right click on it and go to WAMP settings and check “Do not verify path”.

Please be aware this might be an issue with WAMP. WAMP allows us to change version of PHP to use.
So know that when you are changing PHP version. Better to remove PHP path from the environment
variables and restarting before changing PHP version to prevent any issues.

Although Its weird that to use ZEROMQ we de nitely need the PHP path there to save us time from
typing the whole complete path PHP cli. Remember WAMP is just our development platform. You can
probably get away from WAMP and use DOCKER instead but WAMP is just so easy. But that is just a
topic for some other time.

Cheerios!

Privacy - Terms

https://3rnani.com/wamp-server-and-php-zeromq-extension-installation/ 2/2

You might also like