How to install the AMQP PHP extension on Windows / XAMPP

github logo Updated on ・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;
twitter logo DISCUSS
Classic DEV Post from May 28

Skip the Framework: Build A Simple Rust API with Hyper

Goce profile image

👋 Hey dev.to reader.

Do you prefer sans serif over serif?

You can change your font preferences in the "misc" section of your settings. ❤️