Install AMQP in windows 10 & PHP 7.3

后端 未结 3 1117
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-13 03:21

i want to install AMQP in windows 10 with PHP 7.3 for use in symfony 4. windows not use any apache/iis/nginx and run directly by symfony.

everything ok! until, i de

3条回答
  •  走了就别回头了
    2021-01-13 03:53

    1) generate phpinfo file, check - Architecture ie: x86 - PHP Extension Build ie: API20170718,TS,VC15 - Thread Safety ie: enabled

    2) go to https://pecl.php.net/package/amqp find version of library acording to your PHP ver, and thread safe or not thread safe

    like here: https://pecl.php.net/package/amqp/1.9.4/windows

    3) unzip/tar package copy php_amqp.dll into ext dir in php dir (ie: c:/xammp/php/ext)

    4) edit php.ini add "extension=php_amqp.dll"

    copy rabbitmq.4.dll and rabbitmq.4.pdb into ie: c:/xammp/php

    5) install Win32OpenSSL (save dlls in windows/system dir)

    https://slproweb.com/products/Win32OpenSSL.html

提交回复
热议问题