Websocket , Zmq and PHP 7.4

Collapse
X
Collapse
+ More Options
Latest Activity
 
  • Time
  • Show
Clear All
new posts

  • yuri
    replied
    I used WSL with docker to test Espo with websocket when didn't have Linux at hand. It run smooth IIRC.

    Leave a comment:


  • Kharg
    replied
    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:


  • abidoss
    replied
    up please

    Leave a comment:


  • abidoss
    replied
    version that works with PHP 8.1 or 8.2?

    Leave a comment:


  • wer83
    replied
    Originally posted by yuri
    What does NTS stand for?

    I believe you should be able to install it with:

    Code:
    sudo apt-get install php-zmq
    NTS = Non-Thread Safe. This is for Windows.

    Leave a comment:


  • yuri
    replied
    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:


  • wer83
    replied
    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:


  • Ceonello
    replied
    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:


  • faustynm
    replied
    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 message

    Leave a comment:


  • Ceonello
    replied
    Thread safe x64 VC15 php 7.4.13
    Attached Files

    Leave a comment:


  • esforim
    commented on 's reply
    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

  • faustynm
    replied
    Hi. Can you share php_zmq.dll for php7.4 ?

    Leave a comment:


  • Ceonello
    replied
    Here it is, php_zmq.dll Thread Safe , PHP8, vs16 x64
    Attached Files

    Leave a comment:


  • esforim
    commented on 's reply
    I personally don't need it (yet), but would be good if you just go ahead and share it. That way when someone do need it, they don't need to wait and can just grab the file. You probably want to use a long lasting host though, one of the Git maybe?

  • Ceonello
    replied
    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 you

    Leave a comment:

Working...