Home >Backend Development >PHP Tutorial >Introduction to the method of installing amqp extension in PHP under windows environment

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

青灯夜游
青灯夜游forward
2020-07-21 17:02:552460browse

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

apache Modify the http.conf file and add

LoadFile  "D:/XAMPP/php/rabbitmq.4.dll"

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!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete