无法加载动态库php_zmq.dll-找不到指定的模块 [英] Unable to load dynamic library php_zmq.dll - The specified module could not be found
问题描述
我有 XAMPP 和PHP版本
PHP 7.1.13(cli)(内置:2018年1月3日20:16:04)(ZTS MSVC14(Visual C ++ 2015)x86).
I have XAMPP with PHP Version
PHP 7.1.13 (cli) (built: Jan 3 2018 20:16:04) ( ZTS MSVC14 (Visual C++ 2015) x86 ).
我要安装ZeroMQ扩展程序,
I want to install the ZeroMQ extension, which
- 我从此处下载 http://pecl.php.net/package /zmq/1.1.3/windows 特别是 7.1线程安全(TS)x86
- 将
php_zmq.dll
移动到文件C:\xampp\php\ext
,并且 - 将
extension=php_zmq.dll
写入文件C:\xampp\php\php.ini
, - 将
C:\xampp\php\ext
写入WindowsPATH
,
- I downloaded from here http://pecl.php.net/package/zmq/1.1.3/windows specifically 7.1 Thread Safe (TS) x86
- moved the
php_zmq.dll
to the fileC:\xampp\php\ext
, and - wrote
extension=php_zmq.dll
into the fileC:\xampp\php\php.ini
, - wrote
C:\xampp\php\ext
in to WindowsPATH
,
但我仍然收到此错误:
PHP警告:PHP启动:无法加载动态库 'C:\ xampp \ php \ ext \ php_zmq.dll'-指定的模块不能是 成立.在第0行上的未知"中
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_zmq.dll' - The specified module could not be found. in Unknown on line 0
警告:PHP启动:无法加载动态库 'C:\ xampp \ php \ ext \ php_zmq.dll'-指定的模块不能是 成立.在第0行上的未知"中
Warning: PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_zmq.dll' - The specified module could not be found. in Unknown on line 0
可能是什么问题?
推荐答案
我已经找到解决方案-必须将 libzmq.dll
文件复制/移动到目录中,其中 php.exe
文件是
I have found out the solution - the libzmq.dll
file must be copied / moved to a directory, where the php.exe
file is.
所以我的情况是 C:\xampp\php
So in my case to C:\xampp\php
这篇关于无法加载动态库php_zmq.dll-找不到指定的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!