Install AMQP in windows 10 & PHP 7.3

后端 未结 3 1113
爱一瞬间的悲伤
爱一瞬间的悲伤 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:43

    1. Be shure you download compatible version php and amqp libriary (thread-save or no9t-thread-safe, x86 or x64).

    For example:

    • php 7.3.8 ts x64 link https://windows.php.net/downloads/releases/php-7.3.8-Win32-VC15-x64.zip
    • amqp 1.9.4 ts x64 for 7.3 link https://windows.php.net/downloads/pecl/releases/amqp/1.9.4/php_amqp-1.9.4-7.3-ts-vc15-x64.zip

    links to all versions for windows:

    AMQP https://pecl.php.net/package/amqp/1.9.4/windows

    PHP https://windows.php.net/download/

    1. You need to register dll regsvr32 c:\windows\system32\rabbitmq.4.dll (or copy rabbitmq.4.dll to c:\php\ dir)

    and move php_amqp.dll to extension dir move c:\php\php_amqp.dll c:\php\ext\

提交回复
热议问题