[zeromq-dev] PHP Extension For Windows

lanre lawal lawillas4ever at yahoo.com
Wed Nov 16 20:13:53 CET 2011


Hello Mikko,
      Thanks for your last suggestion. I tried it out but I got the following error in my apache_error_log:
PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.8/ext/php_zmq.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0. What could be the cause of this. I'm indeed running PHP 5.3.8 and Apache2.2.21.

 
Regards,
Olanrewaju Lawal
Web Developer / Programmer
+2348053568948



________________________________
From: Mikko Koppanen <mikko.koppanen at gmail.com>
To: ZeroMQ development list <zeromq-dev at lists.zeromq.org>
Sent: Wednesday, November 16, 2011 10:49 AM
Subject: Re: [zeromq-dev] PHP Extension For Windows

On Wed, Nov 16, 2011 at 4:39 PM, lanre lawal <lawillas4ever at yahoo.com> wrote:
> Hi Mikko,
>     I had already visited the URL you pointed me to previously and i
> downloaded the snapshot for 64-bit as thats what my machine is. However i
> copied the libzmq.dll file included in the download into my PHP extension
> directory but I got a message in the apache error log that its not a PHP
> library. Please can you tell me what i need to do after downloading the
> snapshot. Thanks.

Hello,

The http://snapshot.zero.mq/ page contains a link called php53-ext,
which has the extension built for PHP 5.3. It contains both
thread-safe and non-threadsafe versions of the extension (php_zmq.dll)
alongside with libzmq.dll, which is needed as a dependency.

You need to place libzmq.dll in the search path for runtime libraries
and load php_zmq.dll in your php.ini. This build will only work with
PHP 5.3.

-- 
Mikko Koppanen
_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20111116/f7aee08f/attachment.htm>


More information about the zeromq-dev mailing list