Ratchet icon indicating copy to clipboard operation
Ratchet copied to clipboard

ZMQ integration does not work with apps using higher than PHP 7.2

Open tylerlazenby opened this issue 3 years ago • 5 comments

It is well known that the zmq extension has issues ever since 7.2 and therefore the ZeroMQ package is not allowed since systems will not have that. This prevents us from using WSS since the pusher is dependent on a zmq component. Is there a work around for this?

tylerlazenby avatar Mar 15 '21 17:03 tylerlazenby

The easiest way would be to use something else to communicate, like RabbitMQ or Redis.

WyriHaximus avatar Mar 16 '21 17:03 WyriHaximus

It's on my TODO list to rewrite that tutorial using Pawl instead of ZMQ.

cboden avatar Mar 17 '21 10:03 cboden

I appreciate you letting me know about that because I have been pretty disappointed since i found out that it wouldn't work. The SSL issue is really one of the biggest reasons I put this in. I will look into those other solutions.

tylerlazenby avatar Mar 17 '21 15:03 tylerlazenby

Just saw this post. Should we avoid using ZMQ on both Windows and Linux now? I saw support for Window by PHP-ZMQ was abandoned since PHP 7.2, thought that's just a Windows thing. @cboden

zhiyong-ft avatar Dec 20 '21 14:12 zhiyong-ft

@byuilazenbyt Could you elaborate or point me to a link about the issues of ZMQ has with PHP7.2+ ? Thanks.

zhiyong-ft avatar Dec 20 '21 14:12 zhiyong-ft