Installing RABBITMQ PHP extensions AMQP in Windows

Source: Internet
Author: User
Tags phpinfo rabbitmq

Recent research on the RABBITMQ queue, Linux installation such software has always been very convenient, but Windows may be more troublesome, so the installation of Windows to make a record.

The PHP extension used on Windows for DLL files, first to download DLL files, I downloaded is amqp1.4, for http://pecl.php.net/package/amqp/1.4.0/windows, please download according to your own PHP version, PHP version should be read (phpinfo), the inside of the two DLL files copied out

1. Place the Php_amqp.dll in the PHP ext directory, then modify the php.ini file to add two lines to the last side of the file

<textarea class="crayon-plain print-no" style="-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; z-index: 0; opacity: 0; overflow: hidden;" readonly="" data-settings="dblclick">[Amqp]extension=php_amqp.dll</textarea>
12 [amqp] extension=php_amqp. DLL

2. Place the Rabbitmq.1.dll file in the root directory of PHP (that is, the parent directory of the EXT directory) and modify the Apache Httpd.con file to add a line at the end of the file

<textarea class="crayon-plain print-no" style="-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; z-index: 0; opacity: 0; overflow: hidden;" readonly="" data-settings="dblclick">LoadFile "D:/xampp/php/rabbitmq.1.dll"</textarea>
1 LoadFile "D:/xampp/php/rabbitmq.1.dll"

3. Restart Apache and view the phpinfo information. Just see the AMQP word.

Installing RABBITMQ PHP extensions AMQP in Windows

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.