Websocket , Zmq and PHP 7.4
Collapse
X
-
Why does it work on Linux and not Windows? With Linux it still use some library file call php_zmq.dll right? Will you be able to get a copy of the Linux version of php_zmq.dll and just copy it to Windows?
Not sure if the above idea would work, I never really use Linux before. -
Hi,
Not sure about windows. But on linux it's not a problem to build for php versions > 7.2 https://github.com/espocrm/docker/bl...Dockerfile#L21
Hi yuri, thank you for the response,
I tried the compiled versions found on https://github.com/zeromq/php-zmq/issues/193, the 7.3 version works fine on PHP 7.3, but with the 7.4 version, on php 7.4, apache crashes with the following error:
Parent: child process 7412 exited with status 3221225725 -- Restarting.
i then built the latest version of php_zmq on windows by following this guide (https://blog.7in0.me/2020/03/29/buil...on-on-windows/) and the generated php_zmq.dll, on PHP 7.4, makes apache crash with the same error as above.
So, there seems to be no way to make websockets works on a windows machine with php>7.3.
If you have any suggestion they will be highly appreciated.
-
Hi,
Not sure about windows. But on linux it's not a problem to build for php versions > 7.2 https://github.com/espocrm/docker/bl...Dockerfile#L21Leave a comment:
-
Websocket , Zmq and PHP 7.4
Hi,
I am trying to enable websocket functionalities on espocrm on a windows10 machine with Apache 2.4 and PHP 7.4.
The problem is that there is no php_zmq dll available for PHP 7.4.
As you can see from http://pecl.php.net/package/zmq/1.1.3 , The latest php-zmq.dll available is from 2016 and is not compatible with php versions > 7.2 (https://github.com/zeromq/php-zmq/issues/193).
How can i enable websocket on a server with a version of Php >7.2? Are Espocrm Websockets supported only on PHP versions < 7.3?
Thank you
Tags: None
Leave a comment: