How to install the php-amqp extension in windows+php+nginx environment?

recently, I have been studying the use of php+rabbitmq message queue for one-step message consumption. I want to install it in the local environment:
Local Environment: windows+php+nginx+mysql
find a lot of information on the Internet is based on apache installation. Please answer how to install amqp extension in nginx environment

.
Mar.18,2021

https://pecl.php.net/package/amqp
dll,php.ini,extension=/path/to/amqp.dll

Update-

download the amqp.dll, of the corresponding versions of ts, nts, x64/x86 and VC14, add php_amqp.dll to php.ini
and place rabbitmq.4.dll in the root directory of php (above the ext directory)

after verifying the feasibility of the above operations in nginx and fpm environments under win, please pay attention to the corresponding version

For installation under

centos, see
CentOS installation RabbitMQ and PHP extensions


in the case of php7.1, amqp 1.9.3 nginx

1. Copy php_amqp.dll to php/ext/
2. Copy rabbitmq.4.dll to php/
3. Copy rabbitmq.4.dll to windows/system32/ (such as 32-bit), 64-bit windows/SysWOW64/

4.php.ini add
extension=php_amqp.dll

5. Restart the service

Menu