ratchetphp / Ratchet

Asynchronous WebSocket server
http://socketo.me
MIT License
6.28k stars 743 forks source link

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

Open tylerlazenby opened 3 years ago

tylerlazenby commented 3 years ago

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?

WyriHaximus commented 3 years ago

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

cboden commented 3 years ago

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

tylerlazenby commented 3 years ago

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.

zhiyong-ft commented 2 years ago

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 commented 2 years ago

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