How to install the AMQP PHP extension on Windows / XAMPP

Updated on Feb 19, 2019 ・1 min read

In case someone needs to install the AMQP PHP extension on XAMPP / WampServer.

  1. Download the latest stable release from here https://pecl.php.net/package/amqp for your PHP version (TS / NTS, x64 / x86);
  2. Unpack the archive and copy the php_amqp.dll file to your extensions directory (ex. C:\xampp\php\ext);
  3. Copy the rabbitmq.X.dll (ex. rabbitmq.4.dll) file to C:\Windows\System;
  4. Update your php.ini file and add "extension=amqp" at the end of extensions list;
  5. Restart the web server and you are done;
DISCUSSION
Classic DEV Post from Dec 12 '18

Resume Review

Let's help each other out - Junior or Senior there's something for you here!

Customize your DEV feed to keep up with the technologies you care about.

Get Started