Home >Backend Development >PHP Tutorial >PHP amqp extension installation windows
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
<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
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.