I used WSL with docker to test Espo with websocket when didn't have Linux at hand. It run smooth IIRC.
Websocket , Zmq and PHP 7.4
Collapse
X
-
Hi Abidoss, I was never able to get websocket working using windows, it’s better if you host everything in a linux environment.
you could use windows subsystem for linux.Leave a comment:
-
-
What does NTS stand for?
I believe you should be able to install it with:
Code:sudo apt-get install php-zmq
Leave a comment:
-
Sorry to resurrect an ancient thread, but would it be possible for you share a NTS version that works with PHP 8.1 or 8.2? I can't seem to find one anywhere and I have no idea how to build it. Thanks in advance.Leave a comment:
-
try with the one attached to this thread https://github.com/zeromq/php-zmq/issues/193
https://github.com/zeromq/php-zmq/fi...15-zts-nts.zip
remember that you will have to switch apache to fcgid_module (from php_module) to make it works tho (or at least this is what we have done)Last edited by Ceonello; 07-08-2021, 10:30 AM.Leave a comment:
-
Unfortunately it does not work. I tested on php 7.4.13 and 7.4.20
After adding to the ext directory and change settings in php.ini, I got the message:
PHP Warning: PHP Startup: Unable to load dynamic library 'zmq'. The specified module could not be found ...
When another module, e.g. php_ldap.dll, I change the name to php_zmq.dll, then I do not receive this messageLeave a comment:
-
-
Doesn't this work for you? It right in the post.
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 -
Here it is, php_zmq.dll Thread Safe , PHP8, vs16 x64
Attached FilesLeave a comment:
-
Hi, a little update that maybe could help someone with the same problems.
We upgraded the server to PHP8, switched Apache to fcgid_module (from php_module) and compiled a php_zmq.dll (VS16 x64 Thread Safe) using the PHP8 sources and the latest zmq sources available.
Now Websockets seems to work correctly.
We suspect that the problem is related to php_module and not to apache or php versions.
If someone need it, we can share the compiled php_zmq.dll.
Thank youLeave a comment:
Leave a comment: