Home > Backend Development > PHP Tutorial > PHP amqp extension installation windows

PHP amqp extension installation windows

WBOY
Release: 2016-07-29 09:07:43
Original
1028 people have browsed it

Because RabbitMQ is implemented by erlang language, you must first install the erlang environment
erlang download and install http://www.erlang.org/download.html
rabbitmq download and install https://www.rabbitmq.com/install-windows .html
php amqp extension download address: http://pecl.php.net/package/amqp
The installation process of windows will not be described in detail. Here is a brief description of the configuration
After decompression, it is as follows
PHP amqp extension installation windows

<code>安装方法 :
</code>
Copy after login

1. Copy php_amqp.dll to php/ext. For example, I put it in the G:/php/php-5.5.6-Win32-VC11-x64/ext directory. 2. Add the following code to php.ini. [amqp]extension =php_amqp.dll
3. Copy rabbitmq.1.dll to the php directory. For example, I put it in the G:/php/php-5.5.6-Win32-VC11-x64 directory. 4. Modify the apache configuration file httpd.conf and add Enter
LoadFile "rabbitmq.1.dll file path"
Such as my configuration information


Restart apache phpinfo and it will show as follows
PHP amqp extension installation windows

The above introduces the amqp extension of php and the installation of windows, including the content. I hope it will be helpful to friends who are interested in PHP tutorials. PHP amqp extension installation windows

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template