用于php 7.2的windows zmq dll问题

I have XAMPP (x86) with PHP 7.2. I am trying to install ZMQ in the following way:

  1. Downloaded (php_zmq-1.1.3-7.2-ts-vc15-x86.zip) file from https://windows.php.net/downloads/pecl/releases/zmq/1.1.3/
  2. extracted the zip file and copied php_zmq.dll file to C:/xampp/php/ext and libzmq.dll file to C:/xampp/
  3. in the php.ini file, I added extension=php_zmq.dll and restarted my apache.

but I am getting the following error:

PHP Warning: PHP Startup: Unable to load dynamic library 'php_zmq.dll' (tried: C:\xampp\php\ext\php_zmq.dll (The specified module could not be found.), C:\xampp\php\ext\php_php_zmq.dll.dll (The specified module could not be found.)) in Unknown on line 0

Please help me fix this issue. Thanks in advance.

展开翻译

译文

我有PHP 7.2的XAMPP(x86)。 我试图以下列方式安装ZMQ:</ p>


  1. https://windows.php.net/downloads/pecl/releases/zmq/ 1.1.3 / </ li>
  2. 解压缩zip文件并将 php_zmq.dll </ code>文件复制到 C:/ xampp / php / ext </ code> 和libzmq.dll文件到php.ini文件中的C:/ xampp / </ li>
  3. ,我添加了 extension = php_zmq.dll </ code>并重新启动了我的apache。</ li>

    </ ol>

    但是我收到以下错误:</ p>


    PHP警告:PHP启动:无法加载动态库'php_zmq .dll'(试过:C:\ xampp \ php \ ext \ php_zmq.dll(找不到指定的模块。),C:\ xampp \ php \ ext \ php_php_zmq.dll.dll(指定的模块不能是 发现。))在第0行的未知中</ p>
    </ blockquote>

    请帮我解决这个问题。 提前致谢。</ p>
    </ div>

1个回答

libzmq.dll need to be in xampp/apache/bin/ folder for it to be load the extension.

展开翻译

译文



libzmq.dll需要位于xampp / apache / bin /文件夹中才能加载扩展名。</ p>
</ DIV>

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问