: This article describes how to install windows with the amqp extension of php. if you are interested in the PHP Tutorial, refer to it. Because RabbitMQ is implemented by the erlang language, the erlang environment must be installed first.
Erlang download installation http://www.erlang.org/download.html
Rabbitmq download installation https://www.rabbitmq.com/install-windows.html
Php amqp extension: http://pecl.php.net/package/amqp
The installation process of windows is not detailed. the configuration is briefly described here.
Decompress the package as follows:
Installation method:
1. copy php_amqp.dll to php/ext. put it in 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, put my directory in G:/php/php-5.5.6-Win32-VC11-x64.
4. modify the apache configuration file httpd. conf to add
LoadFile "rabbitmq.1.dll file path"
For example, my configuration information
Restart apache phpinfo.
The above describes how to install windows through the amqp extension of php, including some content. I hope my friends who are interested in the PHP Tutorial can help me.