Introduction to the method of installing amqp extension in PHP under windows environment

青灯夜游
Release: 2023-04-09 10:12:02
forward
2429 people have browsed it

Introduction to the method of installing amqp extension in PHP under windows environment

Install php extension amqp

Check your php version first

Remember the version As for this thread safety issue, let’s take a look at it by quoting other people’s work http://blog.csdn.net/aoyoo111/article/details/19021295

Next download the dll file addresshttp://pecl.php.net/package/amqp

To download the stable version, click DLL

##php version, X86 and X64 According to your own situation, NTS and TS are the threads Everyone knows about safty’s status, so I won’t say much.

Download and unzip

Put the php_amqp.dll file into the ext folder of the php directory. See the picture below:

Place The rabbitmq.4.dll file is placed in the php root directory as shown in the figure below:

Add to php.ini

extension=php_amqp.dll
Copy after login

apache Modify the http.conf file and add

LoadFile  "D:/XAMPP/php/rabbitmq.4.dll"
Copy after login

and then restart apache

Related tutorial recommendations: "

PHP Tutorial"

The above is the detailed content of Introduction to the method of installing amqp extension in PHP under windows environment. For more information, please follow other related articles on the PHP Chinese website!

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