How to install amqp extension for PHP on Windows
Marcos Rezende
Posted on August 16, 2020
Warning: before the download, check if your PHP installation is thread safe or non-thread safe typing this on Terminal:
php -i|findstr "Thread"
Next, proceed:
- Download the right version of the extension https://pecl.php.net/package/amqp
- After download, copy rabbitmq.4.dll and rabbitmq.4.pdb files to PHP root folder and copy php_amqp.dll and php_amqp.pdb files to PHP\ext folder
- Add
extension=amqp
to the php.ini file - Check if is everything OK with
php -m
It is miserable easy but I have stuck on this for almost two hours.
💖 💪 🙅 🚩
Marcos Rezende
Posted on August 16, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.