php install amqp extension (windows)

藏色散人
Release: 2023-04-08 06:36:01
forward
4124 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 installation:

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 introduction to the configuration

After decompression, it is as follows

php install amqp extension (windows)

Installation method:

1. Copy php_amqp.dll to php/ext. For example, I put mine 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
Copy after login

3. Copy rabbitmq.1.dll to the php directory, such as mine in G:/php/ php-5.5.6-Win32-VC11-x64 directory

4. Modify the apache configuration file httpd.conf and add

LoadFile "rabbitmq.1.dll文件路径"
Copy after login

such as my configuration information

php install amqp extension (windows)

Restart apache phpinfo and the display is as follows

php install amqp extension (windows)

The above is the detailed content of php install amqp extension (windows). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
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