Problems with XAMPP & ZeroMQ

Hey guys,

im setting up a Xibo-Server with XAMPP 5.6.33 on Windows Server 2016 (64-Bit). It is used with 5-10 Clients in a closed VLAN so there is no access from outside. Its a little project just in a local network.

Im running all of these Runtimes right now:

  • VC++ 2008 x64
  • VC++ 2008 x86
  • VC++ 2012 x64
  • VC++ 2012 x86
  • VC++ 2013 x64
  • VC++ 2015 x64

I downloaded php_zmq-1.1.2-5.6-vc11-x64 and added the libzmq.dll to /xampp/php/ and the php_zmq.dll to /xampp/php/ext/ and adde the line “extension=php_zmq.dll” to the php.ini file.

The addon is still not working. Does anyone may have an idea?

German/English only please :slight_smile:

Have you restarted the web server after making those changes?

The Report fault page still says that zeroMQ is not enabled?

1 Like

Sure i also restarted the full machine.

On the page localhost/web/install/ it still shows a liitle “X” at ZeroMQ.

If you want i can give you TeamViewer or AnyDesk access so you can have a look on it.

If you have /web in the CMS url, then I’d suggest looking here at url rewriting and document root first https://xibo.org.uk/manual/en/install_environment.html

then try to troubleshoot the zeroMQ issue.

Sorry, but i dont understand how to do that for XAMPP. Is there any way you can help me via remote?

@Peter i fixed the issue… but my clients still dont get the XMR Commands … I changed the public XMR adress in the settings to “tcp://xxx.xxx.xxx.xxx:9505” … any idea?

Is the XMR running? Have you created a task to ensure it will run after reboot etc? (as per manual instructions).

Does the player shows that it is connected to the public address?
If so, do you see any errors on the player status window?
It might be just the case of issuing XMR reconfigure on Edit Display -> Advanced tab

This is a serious problem that we would recommend you solve before going any further - the contents of the xibo root folder should NOT be exposed via a web server.

Your document root should be inside the web folder, so that you’re accessing Xibo over http://localhost/ rather than http://localhost/web

i have done that :slight_smile: what @dan said

@Peter : How can i check that?

As you see, the client isnt getting any XMR Command… There is no Firewall and all Ports are opende because it is a private network…

Interesting - your screenshot shows that XMR is looking for 5555 ?

It actually doesn’t matter what port you use, as long as they are all the same. So the XMR service public address, the public address in your CMS settings and the one reported in the display status must all be exactly the same for it to work.

Can you go through each one and check to make sure?

sorry, i tested some ports and changed it before i made the screenshot …

here is my XMR Config …


Private and Public cannot both bind to the same port - you have both set to 5555 - moreover these need to be the same as the ones you’ve configured for your xmr.phar file, which you’re running somehow.

How XMR works is explained in detail in the installation materials - see https://xibo.org.uk/manual/en/install_xmr.html#installation

So the private address in your config.json must be the same as your private address in your CMS settings. Likewise the public address in your config.json must be the same as your public address in the CMS settings, which is then pushed down to your Display.

i made the thing with the config.json … private port is 50001 and public is 9505 … i set up the same thing in the settings and its still not working …

Can you set debug:true in your config.json and then show the console output of XMR running? Perhaps XMR itself is not running correctly.

which console do you mean?

Easier if I ask another question - how are you running XMR?

i just installed zeromq :smiley: i just did all the things in the tutorials…

OK lets try and be perfectly clear - you have chosen to do a “manual” installation, meaning you’re running directly on a web server and not using docker.

The instructions for that are here: https://xibo.org.uk/manual/en/manual_install.html

At the bottom it says that you need to set up XMR and XTR manually and provides links for both of those applications.

Admittedly the XMR instructions could be more verbose, but this is the line you’re looking for:

XMR is a PHAR (PHP archive) and can be run from any terminal by issuing php xmr.phar. It is a long running application and will not terminate once started. It is recommended to run this as a service, you can find an example upstart conf file in vendor/xibosignage/xibo-xmr/bin/upstart.

We do not provide any examples of how you might run that on Windows, but you can certainly (for testing) open the windows command prompt and do php vendor/bin/xmr.phar in your Xibo folder.

xmr error

that is happening… :frowning: