php-zmq icon indicating copy to clipboard operation
php-zmq copied to clipboard

fix missing win32/php_stdint.h when building for php 8.x on Windows, add Windows build instructions

Open stijnvdb88 opened this issue 1 year ago • 3 comments

  • see https://github.com/php-amqp/php-amqp/issues/390
  • https://github.com/zeromq/php-zmq/issues/223

stijnvdb88 avatar Mar 20 '23 20:03 stijnvdb88

After trying this for hours I gave up, but came back to this today and found 2 issues. First, at least on my system, libzmq-v142-mt-4_3_4.dll cannot be renamed. Second, it also depends on api-ms-win-crt-runtime-l1-1-0.dll and api-ms-win-crt-heap-l1-1-0.dll which require Visual C++ Redistributable for Visual Studio 2015 installed.

php_zmq

ClosetGeek-Git avatar Jul 10 '23 22:07 ClosetGeek-Git

And where do i suppose to apply those .dll that you mentioned? api-ms-win-crt-runtime-l1-1-0.dll and api-ms-win-crt-heap-l1-1-0.dll

paulocesarborges avatar Sep 14 '23 00:09 paulocesarborges

I made a new ZIP with the instructions and the correct files to everyone!

ZMQ-4.3.4_x64_PHP8.2.10-NTS.zip

:D

Later, i'll share with you how i was able to do that, and solve the problem with

 WARNING
The following arguments is invalid, and therefore ignored:
--with-zmq 

(i'ts not too difficult.. but the instrucions here was not clear!)

paulocesarborges avatar Sep 14 '23 15:09 paulocesarborges