Perhaps have a look here - Installing php_zmq zeromq on XAMPP with PHP 5.6 as a service
As we have no idea what server environment you’re using, we have to guess what the issue might be, however it seems likely it is similar to the issues described in that topic.
Your php_zmq extension needs to be correct/match the php version you are using.
I used the Thread Safe variant for my version
Still got an error with it…
Sorry to hear you are still getting an error. Can you confirm what environment/sever you are using?
I can see my colleague included a link in his reply to you, have you followed the suggested solution in this post?
Another member of the forum has also suggested that your php_zmq extension needs to match the version of PHP that you are using. Installing the correct version should resolve the issue. Has this also been checked and can you confirm they do indeed match?
Many Thanks.