Installing zeromq on Windows 7 WAMP server
I am looking for installing zeromq on my Windows 7 machine for using zeromq with PHP (I am using WAMP server (5.3.4), Apache Server 2.2.17).
I followed the documentation on their site, but I don't know what to do. I installed the zeromq from the following site, then I tried to copy the dll from this site but it's down.
Where can I get the DLL? Am I want to install only the Windows installer from from this link, or is there anything else needed?
I have downloaded the dll from this site http://178.79.157.189/~mikko/win32/php-zmq-win32.zip
I'm using PHP 5.3.4 x64 version and Windows 7 x64. I tried the following steps:
- I have installed
ZeroMQ-3.2.2rc2~miru1.5-x64
- copied
libzmq.dll
toc:wampbinphpphp5.3.4
- copied
php-zmqphp53php53-ts_zeromq-3.2.2
toc:wampbinphpphp5.3.4ext
- enabled the
php_zmq
extension inphp.ini
I restarted the WAMP. It shows
'c:/wamp/bin/php/php5.3.4/ext/php_zmq.dll'
- %1 is not a valid win32 application
What could be the problem?
Again I tried with the Wamp x86(php 5.4.3) version and windows 7 x64
- I have installed
ZeroMQ-3.2.2rc2~miru1.5-x86.exe
- copied
libzmq.dll
toc:wampbinphpphp5.4.3
- copied
php-zmqphp54php54-ts_zeromq-3.2.2
toc:wampbinphpphp5.4.3ext
- enabled the
php_zmq
extension inphp.ini
I restarted the WAMP. It shows
PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.4.3/ext/php_zmq.dll' - The specified module could not be found.rn in Unknown on line 0
windows-7 php wamp
add a comment |
I am looking for installing zeromq on my Windows 7 machine for using zeromq with PHP (I am using WAMP server (5.3.4), Apache Server 2.2.17).
I followed the documentation on their site, but I don't know what to do. I installed the zeromq from the following site, then I tried to copy the dll from this site but it's down.
Where can I get the DLL? Am I want to install only the Windows installer from from this link, or is there anything else needed?
I have downloaded the dll from this site http://178.79.157.189/~mikko/win32/php-zmq-win32.zip
I'm using PHP 5.3.4 x64 version and Windows 7 x64. I tried the following steps:
- I have installed
ZeroMQ-3.2.2rc2~miru1.5-x64
- copied
libzmq.dll
toc:wampbinphpphp5.3.4
- copied
php-zmqphp53php53-ts_zeromq-3.2.2
toc:wampbinphpphp5.3.4ext
- enabled the
php_zmq
extension inphp.ini
I restarted the WAMP. It shows
'c:/wamp/bin/php/php5.3.4/ext/php_zmq.dll'
- %1 is not a valid win32 application
What could be the problem?
Again I tried with the Wamp x86(php 5.4.3) version and windows 7 x64
- I have installed
ZeroMQ-3.2.2rc2~miru1.5-x86.exe
- copied
libzmq.dll
toc:wampbinphpphp5.4.3
- copied
php-zmqphp54php54-ts_zeromq-3.2.2
toc:wampbinphpphp5.4.3ext
- enabled the
php_zmq
extension inphp.ini
I restarted the WAMP. It shows
PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.4.3/ext/php_zmq.dll' - The specified module could not be found.rn in Unknown on line 0
windows-7 php wamp
add a comment |
I am looking for installing zeromq on my Windows 7 machine for using zeromq with PHP (I am using WAMP server (5.3.4), Apache Server 2.2.17).
I followed the documentation on their site, but I don't know what to do. I installed the zeromq from the following site, then I tried to copy the dll from this site but it's down.
Where can I get the DLL? Am I want to install only the Windows installer from from this link, or is there anything else needed?
I have downloaded the dll from this site http://178.79.157.189/~mikko/win32/php-zmq-win32.zip
I'm using PHP 5.3.4 x64 version and Windows 7 x64. I tried the following steps:
- I have installed
ZeroMQ-3.2.2rc2~miru1.5-x64
- copied
libzmq.dll
toc:wampbinphpphp5.3.4
- copied
php-zmqphp53php53-ts_zeromq-3.2.2
toc:wampbinphpphp5.3.4ext
- enabled the
php_zmq
extension inphp.ini
I restarted the WAMP. It shows
'c:/wamp/bin/php/php5.3.4/ext/php_zmq.dll'
- %1 is not a valid win32 application
What could be the problem?
Again I tried with the Wamp x86(php 5.4.3) version and windows 7 x64
- I have installed
ZeroMQ-3.2.2rc2~miru1.5-x86.exe
- copied
libzmq.dll
toc:wampbinphpphp5.4.3
- copied
php-zmqphp54php54-ts_zeromq-3.2.2
toc:wampbinphpphp5.4.3ext
- enabled the
php_zmq
extension inphp.ini
I restarted the WAMP. It shows
PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.4.3/ext/php_zmq.dll' - The specified module could not be found.rn in Unknown on line 0
windows-7 php wamp
I am looking for installing zeromq on my Windows 7 machine for using zeromq with PHP (I am using WAMP server (5.3.4), Apache Server 2.2.17).
I followed the documentation on their site, but I don't know what to do. I installed the zeromq from the following site, then I tried to copy the dll from this site but it's down.
Where can I get the DLL? Am I want to install only the Windows installer from from this link, or is there anything else needed?
I have downloaded the dll from this site http://178.79.157.189/~mikko/win32/php-zmq-win32.zip
I'm using PHP 5.3.4 x64 version and Windows 7 x64. I tried the following steps:
- I have installed
ZeroMQ-3.2.2rc2~miru1.5-x64
- copied
libzmq.dll
toc:wampbinphpphp5.3.4
- copied
php-zmqphp53php53-ts_zeromq-3.2.2
toc:wampbinphpphp5.3.4ext
- enabled the
php_zmq
extension inphp.ini
I restarted the WAMP. It shows
'c:/wamp/bin/php/php5.3.4/ext/php_zmq.dll'
- %1 is not a valid win32 application
What could be the problem?
Again I tried with the Wamp x86(php 5.4.3) version and windows 7 x64
- I have installed
ZeroMQ-3.2.2rc2~miru1.5-x86.exe
- copied
libzmq.dll
toc:wampbinphpphp5.4.3
- copied
php-zmqphp54php54-ts_zeromq-3.2.2
toc:wampbinphpphp5.4.3ext
- enabled the
php_zmq
extension inphp.ini
I restarted the WAMP. It shows
PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.4.3/ext/php_zmq.dll' - The specified module could not be found.rn in Unknown on line 0
windows-7 php wamp
windows-7 php wamp
edited May 7 '13 at 4:48
Thirumalai murugan
asked Apr 20 '13 at 9:55
Thirumalai muruganThirumalai murugan
14113
14113
add a comment |
add a comment |
5 Answers
5
active
oldest
votes
Given that this is the top search result on Google for zeromq dll problems with PHP on windows, i'm adding my two cents to it.
Proper Steps to setting up zeroMQ with PHP:
1) Download the correct DLL package for PHP
DLL Download Page for PHP ZeroMQ is now found at http://pecl.php.net/package/zmq (http://snapshot.zeromq.com is dead)
A tiny 'DLL' link will be present beside each 'available release'. That's your link. Click on it, and select your dll based on your PHP version and whether it's thread Safe (TS) or Non-thread Safe (NTS).
If you are coming from the XAMPP Package, your DLL should be TS & x86 version.
2) Make sure you have the correct Microsoft Visual C++ Redistributable Package installed.
As of this writing, the correct version is the 2012 one. Link to download Package: http://www.microsoft.com/en-us/download/details.aspx?id=30679
3) Copy the phpzmq.dll & libzmq.dll (from the dll package in step 1) to your PHPExtensions Directory (Default XAMPP php ext path is: C:xamppphpext)
4) Add the phpzmq.dll to your PHP.ini
5) Add the PHPextensions directory to your PATH system environment variables (very important) & restart your machine
Upon restart, start your apache & pray to the PHP gods.
FAQ for common errors:
1) I have a popup saying "'libzmq.dll' is missing from my computer"
when starting apache.
Well darn, make sure you followed step 5 to the letter and verify that the directory path is correct and the dll is present in that directory.
2) Another popup saying "'php5.dll' is missing from my computer" when
starting apache.
Looks like you got the wrong dll for your php version. Download the correct one from step 1.
3) A random popup appeared saying "'phpzmq.dll' is not a valid win 32
application."
That DLL is still not correct. Make sure you got the right one (x86 or x64) and that it is either thread safe or non-thread safe. How would you know? Time to play DLL roulette.
Hoping this post actually helps the users who land here :)
Great answer thanks. I have been looking for a link to the correct dll's for ages.
– ibanore
Sep 6 '14 at 10:06
add a comment |
@Mysteryos's answer is quite informative but it is inaccurate. There are few mistakes in step 3 & 4 worth to mention.
Correct procedure in WAMP server
Step 3)
- i) Copy libzmq.dll to php bin root directory (eg.
C:wampbinphpphp5.5.12) - ii) Copy php_zmq.dll to php extensions directory (eg.
C:wampbinphpphp5.5.12ext) - I am using the php_zmq-1.1.2-5.5-ts-vc11-x64.zip (php 5.5, thread
safe) which can obtain from this link
http://pecl.php.net/package/zmq. - Make sure you download the one which match your php version (5.x),
else you will get "Another popup saying "'php5.dll' is missing
from my computer" when starting apache" error
Step 4)
Add the phpzmq.dll declaration to your PHP.ini
It is important to notice that there are few php.ini in WAMP server directory.
The correct php is in C:wampbinapacheapache2.4.9php.ini
Append the following declaration into the php.ini mentioned above.
[ZMQ]
extension=php_zmq.dll
Yeah! Nice catch copyinglibzmq.dll
andlibsodium.dll
to php root dir
– manix
May 14 '17 at 3:12
"Copy libzmq.dll to php bin root directory" did the job..ty
– Sid
Jun 26 '17 at 19:47
add a comment |
I had the same problem.
Using dll from php-zmq_zeromq-{version}-zts
folder fixed the problem for me.
from where we can get that dll can you share me?
– Thirumalai murugan
Jun 6 '13 at 4:38
add a comment |
I followed the instructions by @Mysteryos and @Zcythe, but I was still receiving a Unable to load module error, so after reviewing the WAMP forums in french I got it to work following the next changes after step 4:
Edit the file config.inc.php located in C:wampscripts
Look for:
$phpDllToCopy = array_merge(
$php_icu_dll,
array (
'libmysql.dll',
'libeay32.dll',
'libsasl.dll',
'libpq.dll',
'libssh2.dll', //For php 5.5.17
'php5isapi.dll',
'php5nsapi.dll',
'ssleay32.dll',
'php5ts.dll',
'php7ts.dll', //For PHP 7
)
);
And then add the 2 ZeroMQ libraries so it looks like:
$phpDllToCopy = array_merge(
$php_icu_dll,
array (
'libmysql.dll',
'libeay32.dll',
'libsasl.dll',
'libpq.dll',
'libssh2.dll', //For php 5.5.17
'php5isapi.dll',
'php5nsapi.dll',
'ssleay32.dll',
'php5ts.dll',
'php7ts.dll', //For PHP 7
'Libsodium.dll', //The ZMQ Libraries
'Libzmq.dll'
)
);
Restart WAMP and it has to work properly.
I tested this with the following ZMQ library:
https://pecl.php.net/package/zmq/1.1.3/windows
- (7.0 Thread Safe (TS) x64, PHP 7.0.10)
Greetings!
add a comment |
Steps to install zeroMQ in PHP 5.3, PHP 7.1, and 7.2 on Windows
- download the appropriate dll for you version of PHP and OS
https://pecl.php.net/package/zmq
https://pecl.php.net/package/zmq/1.1.2/windows for PHP 5.3 to 5.6
https://pecl.php.net/package/zmq/1.1.3/windows for PHP 7.0 to 7.2
Most likely you want your PHP version, x64, and Thread Safe
but you may have a x32 version of PHP
$ php -i | grep Architecture
Architecture => x64
- for PHP 5.3
download 5.3 Thread Safe (TS) x86
extract and copy the dlls
copy libzmq.dll
into
C:wampbinphpphp5.3.4
there is no libsodium.dll
in PHP 5.3
copy php_zmq.dll
into
C:wampbinphpphp5.3.4ext
add the extension to your php.ini,
usually with the other Dynamic Extensions
extension=php_zmq.dll
- for PHP 7.1
download 7.1 Thread Safe (TS) x64
extract and copy the dlls
copy libzmq.dll
and libsodium.dll
into
C:laragonbinphpphp-7.1.20-Win32-VC14-x64
there is an extra dll libsodium.dll
for PHP 7.1
copy php_zmq.dll
into
C:laragonbinphpphp-7.1.20-Win32-VC14-x64ext
add the extension to your php.ini,
usually with the other Dynamic Extensions
extension=php_zmq.dll
- for PHP 7.2
download 7.2 Thread Safe (TS) x64
extract and copy the dlls
copy libzmq.dll
into
C:laragonbinphpphp-7.2.11-Win32-VC15-x64
there is no libsodium.dll
after PHP 7.1
copy php_zmq.dll
into
C:laragonbinphpphp-7.2.11-Win32-VC15-x64ext
add the extension to your php.ini,
usually with the other Dynamic Extensions
extension=zmq
- verify by viewing php info
$ php -i | grep zmq
zmq
libzmq version => 4.1.3
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f585291%2finstalling-zeromq-on-windows-7-wamp-server%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
Given that this is the top search result on Google for zeromq dll problems with PHP on windows, i'm adding my two cents to it.
Proper Steps to setting up zeroMQ with PHP:
1) Download the correct DLL package for PHP
DLL Download Page for PHP ZeroMQ is now found at http://pecl.php.net/package/zmq (http://snapshot.zeromq.com is dead)
A tiny 'DLL' link will be present beside each 'available release'. That's your link. Click on it, and select your dll based on your PHP version and whether it's thread Safe (TS) or Non-thread Safe (NTS).
If you are coming from the XAMPP Package, your DLL should be TS & x86 version.
2) Make sure you have the correct Microsoft Visual C++ Redistributable Package installed.
As of this writing, the correct version is the 2012 one. Link to download Package: http://www.microsoft.com/en-us/download/details.aspx?id=30679
3) Copy the phpzmq.dll & libzmq.dll (from the dll package in step 1) to your PHPExtensions Directory (Default XAMPP php ext path is: C:xamppphpext)
4) Add the phpzmq.dll to your PHP.ini
5) Add the PHPextensions directory to your PATH system environment variables (very important) & restart your machine
Upon restart, start your apache & pray to the PHP gods.
FAQ for common errors:
1) I have a popup saying "'libzmq.dll' is missing from my computer"
when starting apache.
Well darn, make sure you followed step 5 to the letter and verify that the directory path is correct and the dll is present in that directory.
2) Another popup saying "'php5.dll' is missing from my computer" when
starting apache.
Looks like you got the wrong dll for your php version. Download the correct one from step 1.
3) A random popup appeared saying "'phpzmq.dll' is not a valid win 32
application."
That DLL is still not correct. Make sure you got the right one (x86 or x64) and that it is either thread safe or non-thread safe. How would you know? Time to play DLL roulette.
Hoping this post actually helps the users who land here :)
Great answer thanks. I have been looking for a link to the correct dll's for ages.
– ibanore
Sep 6 '14 at 10:06
add a comment |
Given that this is the top search result on Google for zeromq dll problems with PHP on windows, i'm adding my two cents to it.
Proper Steps to setting up zeroMQ with PHP:
1) Download the correct DLL package for PHP
DLL Download Page for PHP ZeroMQ is now found at http://pecl.php.net/package/zmq (http://snapshot.zeromq.com is dead)
A tiny 'DLL' link will be present beside each 'available release'. That's your link. Click on it, and select your dll based on your PHP version and whether it's thread Safe (TS) or Non-thread Safe (NTS).
If you are coming from the XAMPP Package, your DLL should be TS & x86 version.
2) Make sure you have the correct Microsoft Visual C++ Redistributable Package installed.
As of this writing, the correct version is the 2012 one. Link to download Package: http://www.microsoft.com/en-us/download/details.aspx?id=30679
3) Copy the phpzmq.dll & libzmq.dll (from the dll package in step 1) to your PHPExtensions Directory (Default XAMPP php ext path is: C:xamppphpext)
4) Add the phpzmq.dll to your PHP.ini
5) Add the PHPextensions directory to your PATH system environment variables (very important) & restart your machine
Upon restart, start your apache & pray to the PHP gods.
FAQ for common errors:
1) I have a popup saying "'libzmq.dll' is missing from my computer"
when starting apache.
Well darn, make sure you followed step 5 to the letter and verify that the directory path is correct and the dll is present in that directory.
2) Another popup saying "'php5.dll' is missing from my computer" when
starting apache.
Looks like you got the wrong dll for your php version. Download the correct one from step 1.
3) A random popup appeared saying "'phpzmq.dll' is not a valid win 32
application."
That DLL is still not correct. Make sure you got the right one (x86 or x64) and that it is either thread safe or non-thread safe. How would you know? Time to play DLL roulette.
Hoping this post actually helps the users who land here :)
Great answer thanks. I have been looking for a link to the correct dll's for ages.
– ibanore
Sep 6 '14 at 10:06
add a comment |
Given that this is the top search result on Google for zeromq dll problems with PHP on windows, i'm adding my two cents to it.
Proper Steps to setting up zeroMQ with PHP:
1) Download the correct DLL package for PHP
DLL Download Page for PHP ZeroMQ is now found at http://pecl.php.net/package/zmq (http://snapshot.zeromq.com is dead)
A tiny 'DLL' link will be present beside each 'available release'. That's your link. Click on it, and select your dll based on your PHP version and whether it's thread Safe (TS) or Non-thread Safe (NTS).
If you are coming from the XAMPP Package, your DLL should be TS & x86 version.
2) Make sure you have the correct Microsoft Visual C++ Redistributable Package installed.
As of this writing, the correct version is the 2012 one. Link to download Package: http://www.microsoft.com/en-us/download/details.aspx?id=30679
3) Copy the phpzmq.dll & libzmq.dll (from the dll package in step 1) to your PHPExtensions Directory (Default XAMPP php ext path is: C:xamppphpext)
4) Add the phpzmq.dll to your PHP.ini
5) Add the PHPextensions directory to your PATH system environment variables (very important) & restart your machine
Upon restart, start your apache & pray to the PHP gods.
FAQ for common errors:
1) I have a popup saying "'libzmq.dll' is missing from my computer"
when starting apache.
Well darn, make sure you followed step 5 to the letter and verify that the directory path is correct and the dll is present in that directory.
2) Another popup saying "'php5.dll' is missing from my computer" when
starting apache.
Looks like you got the wrong dll for your php version. Download the correct one from step 1.
3) A random popup appeared saying "'phpzmq.dll' is not a valid win 32
application."
That DLL is still not correct. Make sure you got the right one (x86 or x64) and that it is either thread safe or non-thread safe. How would you know? Time to play DLL roulette.
Hoping this post actually helps the users who land here :)
Given that this is the top search result on Google for zeromq dll problems with PHP on windows, i'm adding my two cents to it.
Proper Steps to setting up zeroMQ with PHP:
1) Download the correct DLL package for PHP
DLL Download Page for PHP ZeroMQ is now found at http://pecl.php.net/package/zmq (http://snapshot.zeromq.com is dead)
A tiny 'DLL' link will be present beside each 'available release'. That's your link. Click on it, and select your dll based on your PHP version and whether it's thread Safe (TS) or Non-thread Safe (NTS).
If you are coming from the XAMPP Package, your DLL should be TS & x86 version.
2) Make sure you have the correct Microsoft Visual C++ Redistributable Package installed.
As of this writing, the correct version is the 2012 one. Link to download Package: http://www.microsoft.com/en-us/download/details.aspx?id=30679
3) Copy the phpzmq.dll & libzmq.dll (from the dll package in step 1) to your PHPExtensions Directory (Default XAMPP php ext path is: C:xamppphpext)
4) Add the phpzmq.dll to your PHP.ini
5) Add the PHPextensions directory to your PATH system environment variables (very important) & restart your machine
Upon restart, start your apache & pray to the PHP gods.
FAQ for common errors:
1) I have a popup saying "'libzmq.dll' is missing from my computer"
when starting apache.
Well darn, make sure you followed step 5 to the letter and verify that the directory path is correct and the dll is present in that directory.
2) Another popup saying "'php5.dll' is missing from my computer" when
starting apache.
Looks like you got the wrong dll for your php version. Download the correct one from step 1.
3) A random popup appeared saying "'phpzmq.dll' is not a valid win 32
application."
That DLL is still not correct. Make sure you got the right one (x86 or x64) and that it is either thread safe or non-thread safe. How would you know? Time to play DLL roulette.
Hoping this post actually helps the users who land here :)
answered Jun 30 '14 at 6:28
MysteryosMysteryos
18115
18115
Great answer thanks. I have been looking for a link to the correct dll's for ages.
– ibanore
Sep 6 '14 at 10:06
add a comment |
Great answer thanks. I have been looking for a link to the correct dll's for ages.
– ibanore
Sep 6 '14 at 10:06
Great answer thanks. I have been looking for a link to the correct dll's for ages.
– ibanore
Sep 6 '14 at 10:06
Great answer thanks. I have been looking for a link to the correct dll's for ages.
– ibanore
Sep 6 '14 at 10:06
add a comment |
@Mysteryos's answer is quite informative but it is inaccurate. There are few mistakes in step 3 & 4 worth to mention.
Correct procedure in WAMP server
Step 3)
- i) Copy libzmq.dll to php bin root directory (eg.
C:wampbinphpphp5.5.12) - ii) Copy php_zmq.dll to php extensions directory (eg.
C:wampbinphpphp5.5.12ext) - I am using the php_zmq-1.1.2-5.5-ts-vc11-x64.zip (php 5.5, thread
safe) which can obtain from this link
http://pecl.php.net/package/zmq. - Make sure you download the one which match your php version (5.x),
else you will get "Another popup saying "'php5.dll' is missing
from my computer" when starting apache" error
Step 4)
Add the phpzmq.dll declaration to your PHP.ini
It is important to notice that there are few php.ini in WAMP server directory.
The correct php is in C:wampbinapacheapache2.4.9php.ini
Append the following declaration into the php.ini mentioned above.
[ZMQ]
extension=php_zmq.dll
Yeah! Nice catch copyinglibzmq.dll
andlibsodium.dll
to php root dir
– manix
May 14 '17 at 3:12
"Copy libzmq.dll to php bin root directory" did the job..ty
– Sid
Jun 26 '17 at 19:47
add a comment |
@Mysteryos's answer is quite informative but it is inaccurate. There are few mistakes in step 3 & 4 worth to mention.
Correct procedure in WAMP server
Step 3)
- i) Copy libzmq.dll to php bin root directory (eg.
C:wampbinphpphp5.5.12) - ii) Copy php_zmq.dll to php extensions directory (eg.
C:wampbinphpphp5.5.12ext) - I am using the php_zmq-1.1.2-5.5-ts-vc11-x64.zip (php 5.5, thread
safe) which can obtain from this link
http://pecl.php.net/package/zmq. - Make sure you download the one which match your php version (5.x),
else you will get "Another popup saying "'php5.dll' is missing
from my computer" when starting apache" error
Step 4)
Add the phpzmq.dll declaration to your PHP.ini
It is important to notice that there are few php.ini in WAMP server directory.
The correct php is in C:wampbinapacheapache2.4.9php.ini
Append the following declaration into the php.ini mentioned above.
[ZMQ]
extension=php_zmq.dll
Yeah! Nice catch copyinglibzmq.dll
andlibsodium.dll
to php root dir
– manix
May 14 '17 at 3:12
"Copy libzmq.dll to php bin root directory" did the job..ty
– Sid
Jun 26 '17 at 19:47
add a comment |
@Mysteryos's answer is quite informative but it is inaccurate. There are few mistakes in step 3 & 4 worth to mention.
Correct procedure in WAMP server
Step 3)
- i) Copy libzmq.dll to php bin root directory (eg.
C:wampbinphpphp5.5.12) - ii) Copy php_zmq.dll to php extensions directory (eg.
C:wampbinphpphp5.5.12ext) - I am using the php_zmq-1.1.2-5.5-ts-vc11-x64.zip (php 5.5, thread
safe) which can obtain from this link
http://pecl.php.net/package/zmq. - Make sure you download the one which match your php version (5.x),
else you will get "Another popup saying "'php5.dll' is missing
from my computer" when starting apache" error
Step 4)
Add the phpzmq.dll declaration to your PHP.ini
It is important to notice that there are few php.ini in WAMP server directory.
The correct php is in C:wampbinapacheapache2.4.9php.ini
Append the following declaration into the php.ini mentioned above.
[ZMQ]
extension=php_zmq.dll
@Mysteryos's answer is quite informative but it is inaccurate. There are few mistakes in step 3 & 4 worth to mention.
Correct procedure in WAMP server
Step 3)
- i) Copy libzmq.dll to php bin root directory (eg.
C:wampbinphpphp5.5.12) - ii) Copy php_zmq.dll to php extensions directory (eg.
C:wampbinphpphp5.5.12ext) - I am using the php_zmq-1.1.2-5.5-ts-vc11-x64.zip (php 5.5, thread
safe) which can obtain from this link
http://pecl.php.net/package/zmq. - Make sure you download the one which match your php version (5.x),
else you will get "Another popup saying "'php5.dll' is missing
from my computer" when starting apache" error
Step 4)
Add the phpzmq.dll declaration to your PHP.ini
It is important to notice that there are few php.ini in WAMP server directory.
The correct php is in C:wampbinapacheapache2.4.9php.ini
Append the following declaration into the php.ini mentioned above.
[ZMQ]
extension=php_zmq.dll
answered May 13 '15 at 5:29
ZcytheZcythe
311
311
Yeah! Nice catch copyinglibzmq.dll
andlibsodium.dll
to php root dir
– manix
May 14 '17 at 3:12
"Copy libzmq.dll to php bin root directory" did the job..ty
– Sid
Jun 26 '17 at 19:47
add a comment |
Yeah! Nice catch copyinglibzmq.dll
andlibsodium.dll
to php root dir
– manix
May 14 '17 at 3:12
"Copy libzmq.dll to php bin root directory" did the job..ty
– Sid
Jun 26 '17 at 19:47
Yeah! Nice catch copying
libzmq.dll
and libsodium.dll
to php root dir– manix
May 14 '17 at 3:12
Yeah! Nice catch copying
libzmq.dll
and libsodium.dll
to php root dir– manix
May 14 '17 at 3:12
"Copy libzmq.dll to php bin root directory" did the job..ty
– Sid
Jun 26 '17 at 19:47
"Copy libzmq.dll to php bin root directory" did the job..ty
– Sid
Jun 26 '17 at 19:47
add a comment |
I had the same problem.
Using dll from php-zmq_zeromq-{version}-zts
folder fixed the problem for me.
from where we can get that dll can you share me?
– Thirumalai murugan
Jun 6 '13 at 4:38
add a comment |
I had the same problem.
Using dll from php-zmq_zeromq-{version}-zts
folder fixed the problem for me.
from where we can get that dll can you share me?
– Thirumalai murugan
Jun 6 '13 at 4:38
add a comment |
I had the same problem.
Using dll from php-zmq_zeromq-{version}-zts
folder fixed the problem for me.
I had the same problem.
Using dll from php-zmq_zeromq-{version}-zts
folder fixed the problem for me.
answered Jun 5 '13 at 16:00
MonteMonte
212
212
from where we can get that dll can you share me?
– Thirumalai murugan
Jun 6 '13 at 4:38
add a comment |
from where we can get that dll can you share me?
– Thirumalai murugan
Jun 6 '13 at 4:38
from where we can get that dll can you share me?
– Thirumalai murugan
Jun 6 '13 at 4:38
from where we can get that dll can you share me?
– Thirumalai murugan
Jun 6 '13 at 4:38
add a comment |
I followed the instructions by @Mysteryos and @Zcythe, but I was still receiving a Unable to load module error, so after reviewing the WAMP forums in french I got it to work following the next changes after step 4:
Edit the file config.inc.php located in C:wampscripts
Look for:
$phpDllToCopy = array_merge(
$php_icu_dll,
array (
'libmysql.dll',
'libeay32.dll',
'libsasl.dll',
'libpq.dll',
'libssh2.dll', //For php 5.5.17
'php5isapi.dll',
'php5nsapi.dll',
'ssleay32.dll',
'php5ts.dll',
'php7ts.dll', //For PHP 7
)
);
And then add the 2 ZeroMQ libraries so it looks like:
$phpDllToCopy = array_merge(
$php_icu_dll,
array (
'libmysql.dll',
'libeay32.dll',
'libsasl.dll',
'libpq.dll',
'libssh2.dll', //For php 5.5.17
'php5isapi.dll',
'php5nsapi.dll',
'ssleay32.dll',
'php5ts.dll',
'php7ts.dll', //For PHP 7
'Libsodium.dll', //The ZMQ Libraries
'Libzmq.dll'
)
);
Restart WAMP and it has to work properly.
I tested this with the following ZMQ library:
https://pecl.php.net/package/zmq/1.1.3/windows
- (7.0 Thread Safe (TS) x64, PHP 7.0.10)
Greetings!
add a comment |
I followed the instructions by @Mysteryos and @Zcythe, but I was still receiving a Unable to load module error, so after reviewing the WAMP forums in french I got it to work following the next changes after step 4:
Edit the file config.inc.php located in C:wampscripts
Look for:
$phpDllToCopy = array_merge(
$php_icu_dll,
array (
'libmysql.dll',
'libeay32.dll',
'libsasl.dll',
'libpq.dll',
'libssh2.dll', //For php 5.5.17
'php5isapi.dll',
'php5nsapi.dll',
'ssleay32.dll',
'php5ts.dll',
'php7ts.dll', //For PHP 7
)
);
And then add the 2 ZeroMQ libraries so it looks like:
$phpDllToCopy = array_merge(
$php_icu_dll,
array (
'libmysql.dll',
'libeay32.dll',
'libsasl.dll',
'libpq.dll',
'libssh2.dll', //For php 5.5.17
'php5isapi.dll',
'php5nsapi.dll',
'ssleay32.dll',
'php5ts.dll',
'php7ts.dll', //For PHP 7
'Libsodium.dll', //The ZMQ Libraries
'Libzmq.dll'
)
);
Restart WAMP and it has to work properly.
I tested this with the following ZMQ library:
https://pecl.php.net/package/zmq/1.1.3/windows
- (7.0 Thread Safe (TS) x64, PHP 7.0.10)
Greetings!
add a comment |
I followed the instructions by @Mysteryos and @Zcythe, but I was still receiving a Unable to load module error, so after reviewing the WAMP forums in french I got it to work following the next changes after step 4:
Edit the file config.inc.php located in C:wampscripts
Look for:
$phpDllToCopy = array_merge(
$php_icu_dll,
array (
'libmysql.dll',
'libeay32.dll',
'libsasl.dll',
'libpq.dll',
'libssh2.dll', //For php 5.5.17
'php5isapi.dll',
'php5nsapi.dll',
'ssleay32.dll',
'php5ts.dll',
'php7ts.dll', //For PHP 7
)
);
And then add the 2 ZeroMQ libraries so it looks like:
$phpDllToCopy = array_merge(
$php_icu_dll,
array (
'libmysql.dll',
'libeay32.dll',
'libsasl.dll',
'libpq.dll',
'libssh2.dll', //For php 5.5.17
'php5isapi.dll',
'php5nsapi.dll',
'ssleay32.dll',
'php5ts.dll',
'php7ts.dll', //For PHP 7
'Libsodium.dll', //The ZMQ Libraries
'Libzmq.dll'
)
);
Restart WAMP and it has to work properly.
I tested this with the following ZMQ library:
https://pecl.php.net/package/zmq/1.1.3/windows
- (7.0 Thread Safe (TS) x64, PHP 7.0.10)
Greetings!
I followed the instructions by @Mysteryos and @Zcythe, but I was still receiving a Unable to load module error, so after reviewing the WAMP forums in french I got it to work following the next changes after step 4:
Edit the file config.inc.php located in C:wampscripts
Look for:
$phpDllToCopy = array_merge(
$php_icu_dll,
array (
'libmysql.dll',
'libeay32.dll',
'libsasl.dll',
'libpq.dll',
'libssh2.dll', //For php 5.5.17
'php5isapi.dll',
'php5nsapi.dll',
'ssleay32.dll',
'php5ts.dll',
'php7ts.dll', //For PHP 7
)
);
And then add the 2 ZeroMQ libraries so it looks like:
$phpDllToCopy = array_merge(
$php_icu_dll,
array (
'libmysql.dll',
'libeay32.dll',
'libsasl.dll',
'libpq.dll',
'libssh2.dll', //For php 5.5.17
'php5isapi.dll',
'php5nsapi.dll',
'ssleay32.dll',
'php5ts.dll',
'php7ts.dll', //For PHP 7
'Libsodium.dll', //The ZMQ Libraries
'Libzmq.dll'
)
);
Restart WAMP and it has to work properly.
I tested this with the following ZMQ library:
https://pecl.php.net/package/zmq/1.1.3/windows
- (7.0 Thread Safe (TS) x64, PHP 7.0.10)
Greetings!
answered Aug 26 '17 at 19:01
UltranukeUltranuke
101
101
add a comment |
add a comment |
Steps to install zeroMQ in PHP 5.3, PHP 7.1, and 7.2 on Windows
- download the appropriate dll for you version of PHP and OS
https://pecl.php.net/package/zmq
https://pecl.php.net/package/zmq/1.1.2/windows for PHP 5.3 to 5.6
https://pecl.php.net/package/zmq/1.1.3/windows for PHP 7.0 to 7.2
Most likely you want your PHP version, x64, and Thread Safe
but you may have a x32 version of PHP
$ php -i | grep Architecture
Architecture => x64
- for PHP 5.3
download 5.3 Thread Safe (TS) x86
extract and copy the dlls
copy libzmq.dll
into
C:wampbinphpphp5.3.4
there is no libsodium.dll
in PHP 5.3
copy php_zmq.dll
into
C:wampbinphpphp5.3.4ext
add the extension to your php.ini,
usually with the other Dynamic Extensions
extension=php_zmq.dll
- for PHP 7.1
download 7.1 Thread Safe (TS) x64
extract and copy the dlls
copy libzmq.dll
and libsodium.dll
into
C:laragonbinphpphp-7.1.20-Win32-VC14-x64
there is an extra dll libsodium.dll
for PHP 7.1
copy php_zmq.dll
into
C:laragonbinphpphp-7.1.20-Win32-VC14-x64ext
add the extension to your php.ini,
usually with the other Dynamic Extensions
extension=php_zmq.dll
- for PHP 7.2
download 7.2 Thread Safe (TS) x64
extract and copy the dlls
copy libzmq.dll
into
C:laragonbinphpphp-7.2.11-Win32-VC15-x64
there is no libsodium.dll
after PHP 7.1
copy php_zmq.dll
into
C:laragonbinphpphp-7.2.11-Win32-VC15-x64ext
add the extension to your php.ini,
usually with the other Dynamic Extensions
extension=zmq
- verify by viewing php info
$ php -i | grep zmq
zmq
libzmq version => 4.1.3
add a comment |
Steps to install zeroMQ in PHP 5.3, PHP 7.1, and 7.2 on Windows
- download the appropriate dll for you version of PHP and OS
https://pecl.php.net/package/zmq
https://pecl.php.net/package/zmq/1.1.2/windows for PHP 5.3 to 5.6
https://pecl.php.net/package/zmq/1.1.3/windows for PHP 7.0 to 7.2
Most likely you want your PHP version, x64, and Thread Safe
but you may have a x32 version of PHP
$ php -i | grep Architecture
Architecture => x64
- for PHP 5.3
download 5.3 Thread Safe (TS) x86
extract and copy the dlls
copy libzmq.dll
into
C:wampbinphpphp5.3.4
there is no libsodium.dll
in PHP 5.3
copy php_zmq.dll
into
C:wampbinphpphp5.3.4ext
add the extension to your php.ini,
usually with the other Dynamic Extensions
extension=php_zmq.dll
- for PHP 7.1
download 7.1 Thread Safe (TS) x64
extract and copy the dlls
copy libzmq.dll
and libsodium.dll
into
C:laragonbinphpphp-7.1.20-Win32-VC14-x64
there is an extra dll libsodium.dll
for PHP 7.1
copy php_zmq.dll
into
C:laragonbinphpphp-7.1.20-Win32-VC14-x64ext
add the extension to your php.ini,
usually with the other Dynamic Extensions
extension=php_zmq.dll
- for PHP 7.2
download 7.2 Thread Safe (TS) x64
extract and copy the dlls
copy libzmq.dll
into
C:laragonbinphpphp-7.2.11-Win32-VC15-x64
there is no libsodium.dll
after PHP 7.1
copy php_zmq.dll
into
C:laragonbinphpphp-7.2.11-Win32-VC15-x64ext
add the extension to your php.ini,
usually with the other Dynamic Extensions
extension=zmq
- verify by viewing php info
$ php -i | grep zmq
zmq
libzmq version => 4.1.3
add a comment |
Steps to install zeroMQ in PHP 5.3, PHP 7.1, and 7.2 on Windows
- download the appropriate dll for you version of PHP and OS
https://pecl.php.net/package/zmq
https://pecl.php.net/package/zmq/1.1.2/windows for PHP 5.3 to 5.6
https://pecl.php.net/package/zmq/1.1.3/windows for PHP 7.0 to 7.2
Most likely you want your PHP version, x64, and Thread Safe
but you may have a x32 version of PHP
$ php -i | grep Architecture
Architecture => x64
- for PHP 5.3
download 5.3 Thread Safe (TS) x86
extract and copy the dlls
copy libzmq.dll
into
C:wampbinphpphp5.3.4
there is no libsodium.dll
in PHP 5.3
copy php_zmq.dll
into
C:wampbinphpphp5.3.4ext
add the extension to your php.ini,
usually with the other Dynamic Extensions
extension=php_zmq.dll
- for PHP 7.1
download 7.1 Thread Safe (TS) x64
extract and copy the dlls
copy libzmq.dll
and libsodium.dll
into
C:laragonbinphpphp-7.1.20-Win32-VC14-x64
there is an extra dll libsodium.dll
for PHP 7.1
copy php_zmq.dll
into
C:laragonbinphpphp-7.1.20-Win32-VC14-x64ext
add the extension to your php.ini,
usually with the other Dynamic Extensions
extension=php_zmq.dll
- for PHP 7.2
download 7.2 Thread Safe (TS) x64
extract and copy the dlls
copy libzmq.dll
into
C:laragonbinphpphp-7.2.11-Win32-VC15-x64
there is no libsodium.dll
after PHP 7.1
copy php_zmq.dll
into
C:laragonbinphpphp-7.2.11-Win32-VC15-x64ext
add the extension to your php.ini,
usually with the other Dynamic Extensions
extension=zmq
- verify by viewing php info
$ php -i | grep zmq
zmq
libzmq version => 4.1.3
Steps to install zeroMQ in PHP 5.3, PHP 7.1, and 7.2 on Windows
- download the appropriate dll for you version of PHP and OS
https://pecl.php.net/package/zmq
https://pecl.php.net/package/zmq/1.1.2/windows for PHP 5.3 to 5.6
https://pecl.php.net/package/zmq/1.1.3/windows for PHP 7.0 to 7.2
Most likely you want your PHP version, x64, and Thread Safe
but you may have a x32 version of PHP
$ php -i | grep Architecture
Architecture => x64
- for PHP 5.3
download 5.3 Thread Safe (TS) x86
extract and copy the dlls
copy libzmq.dll
into
C:wampbinphpphp5.3.4
there is no libsodium.dll
in PHP 5.3
copy php_zmq.dll
into
C:wampbinphpphp5.3.4ext
add the extension to your php.ini,
usually with the other Dynamic Extensions
extension=php_zmq.dll
- for PHP 7.1
download 7.1 Thread Safe (TS) x64
extract and copy the dlls
copy libzmq.dll
and libsodium.dll
into
C:laragonbinphpphp-7.1.20-Win32-VC14-x64
there is an extra dll libsodium.dll
for PHP 7.1
copy php_zmq.dll
into
C:laragonbinphpphp-7.1.20-Win32-VC14-x64ext
add the extension to your php.ini,
usually with the other Dynamic Extensions
extension=php_zmq.dll
- for PHP 7.2
download 7.2 Thread Safe (TS) x64
extract and copy the dlls
copy libzmq.dll
into
C:laragonbinphpphp-7.2.11-Win32-VC15-x64
there is no libsodium.dll
after PHP 7.1
copy php_zmq.dll
into
C:laragonbinphpphp-7.2.11-Win32-VC15-x64ext
add the extension to your php.ini,
usually with the other Dynamic Extensions
extension=zmq
- verify by viewing php info
$ php -i | grep zmq
zmq
libzmq version => 4.1.3
answered Jan 11 at 20:51
browniebytesbrowniebytes
111
111
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f585291%2finstalling-zeromq-on-windows-7-wamp-server%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown