loading...
Cover image for How to install the AMQP PHP extension on Windows / XAMPP

How to install the AMQP PHP extension on Windows / XAMPP

goceb profile image Goce 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;

Discussion

pic
Editor guide
 

This is not correct.

After the download of PHP 7.4 and amqp 1.10.2 pecl.php.net/package/amqp/1.10.2/w... it stills does not work.

 

I went one step further and realized what was that error: dev.to/rezehnde/how-to-install-amq...

 

Still getting the message "The procedure entry point php_error_docref() could not be located in the dynamic link libary.
C:\xampp\php\ext\php_amqp.dll" x 2 times