简体   繁体   English

php 7.2的Windows zmq dll问题

[英]windows zmq dll issue for php 7.2

I have XAMPP (x86) with PHP 7.2. 我有XAMPP(x86)和PHP 7.2。 I am trying to install ZMQ in the following way: 我正在尝试通过以下方式安装ZMQ:

  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/ https://windows.php.net/downloads/pecl/releases/zmq/1.1.3/下载的(php_zmq-1.1.3-7.2-ts-vc15-x86.zip)文件
  2. extracted the zip file and copied php_zmq.dll file to C:/xampp/php/ext and libzmq.dll file to C:/xampp/ 解压缩zip文件并将php_zmq.dll文件复制到C:/xampp/php/ext并将libzmq.dll文件复制到C:/ xampp /
  3. in the php.ini file, I added extension=php_zmq.dll and restarted my apache. 在php.ini文件中,我添加了extension=php_zmq.dll并重新启动了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 PHP警告:PHP启动:无法加载动态库'php_zmq.dll'(尝试:C:\\ xampp \\ php \\ ext \\ php_zmq.dll(找不到指定的模块。),C:\\ xampp \\ php \\ ext \\ php_php_zmq.dll.dll(找不到指定的模块。)在第0行的“未知”中

Please help me fix this issue. 请帮助我解决此问题。 Thanks in advance. 提前致谢。

libzmq.dll必须位于xampp / apache / bin /文件夹中才能加载扩展名。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM