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

PHP amqp extension installation windows

WBOY
WBOYOriginal
2016-07-29 09:07:431017browse

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>

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

Statement:
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