0% found this document useful (0 votes)
113 views6 pages

ZeroMq Installing V1.3

The document provides instructions for installing ZeroMQ on a Windows server by checking the PHP and server architecture version, installing the necessary Visual C++ runtimes, downloading the correct ZeroMQ package based on the PHP and architecture version, copying required files to the PHP folder and enabling the extension in PHP.ini, and adding paths to ensure the extension loads properly for use with applications like Xibo.

Uploaded by

Antonio GA
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)
113 views6 pages

ZeroMq Installing V1.3

The document provides instructions for installing ZeroMQ on a Windows server by checking the PHP and server architecture version, installing the necessary Visual C++ runtimes, downloading the correct ZeroMQ package based on the PHP and architecture version, copying required files to the PHP folder and enabling the extension in PHP.ini, and adding paths to ensure the extension loads properly for use with applications like Xibo.

Uploaded by

Antonio GA
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/ 6

ZeroMQ on a Windows System 1.

3V

for all the guys who have trouble to install ZeroMQ on an Windows System.

ZeroMQ is not working with PHP-Versions above 7.2.x !!!

1: Server-Environment:

1.1 You have to check what version of PHP is installed on your Webserver:

You can find that information, when you open your PHP-Info-File:

In my case the PHP-Version: 5.6.40

1.2 Under which Architecture the Server is running:

In my case the Server is running in the x64 Architecture (64bit)

1.3 Is the Server running under Thread Savety Conditions:


In my case: enable

2. Microsoft Visual C++ Version

ZeroMQ needs Microsoft Visual C++ Runtimes to run correctly.

If you have a x64 Server running, it‘s necessary to have both Runtimeversions

(x32 and x64) installed on the Server!!!

These are:

Microsoft Visual C++ 2008 (VC9)


Microsoft Visual C++ 2010 (VC10)
Microsoft Visual C++ 2012 (VC11)
Microsoft Visual C++ 2013 (VC12)
Microsoft Visual C++ 2015 (VC14)
Microsoft Visual C++ 2017 (VC15)

I made it easy and installed all. After that, don’t forget to reboot.

3. What ZeroMQ version I need:

Here you can download the ZeroMQ Package:

https://windows.php.net/downloads/pecl/releases/zmq/

1.1.1 = PHP Version 5.3.x – 5.5.x


1.1.2 = PHP Version 5.3.x – 5.6.x
1.1.3 = PHP Version 7.0.x – 7.2.x

In the name oft the file TS = Thread Save


NTS = None Thread Save

VC9 means: Microsoft Visual C++ 2008 (VC9)


VC11 means: Microsoft Visual C++ 2012 (VC11)
VC14 means: Microsoft Visual C++ 2015 (VC14)
VC15 means: Microsoft Visual C++ 2017 (VC15)

derived therefrom I need the following package:

PHP- Version = 5.6.40


Architecture = X64
Thread Save = Enable

php_zmq-1.1.2-5.6-ts-vc11-x64.zip
I must have installed Microsoft Visual C++ 2012 (VC11) in x32 and x64 Version

4. Installing

Download the right zip Archiv from the link above.

Unpack the following files to the folders:

File libzmq.dll must copied to your PHP folder


File php_zmq.dll must copied to your PhP-folder/ext

after that you must go to your PHP.ini and edit the following line:

Under the chapter: „Dynamic Extensions“ you must write the line:

extension=php_zmq.dll
Than you must write the following line in your http.conf to load the .dll in the
Apache Webserver.

LoadFile "C:\server-path\php\libzmq.dll"
After the last step, you must go to your

Control Panel
System
System Proberties
Environment Variables
System Variables

Under the Key: „Path“ you must write down the path to your PHP-Directory

In my case: c:\server-path\php

Finally you must reboot your Windows Server and do the Xibo-System-Test again.

Hopefully the ZeroMQ Extension is successfull installed.

Greetings from Germany

Torsten

You might also like