windows下安装rabbitmq的php扩展amqp(原创)

从php官方下载相应的版本http://pecl.php.net/package/amqp,我这里使用的是1.4.0版本(http://pecl.php.net/package/amqp/1.4.0/windows
根据当前使用的php版本选择相应的扩展dll,下载后是一个压缩包,里面有两个dll扩展(php_amqp.dll和rabbitmq.1.dll)。

php_amqp

我的环境是64位的,php5.5.12.所以使用的是http://windows.php.net/downloads/pecl/releases/amqp/1.4.0/php_amqp-1.4.0-5.5-ts-vc11-x64.zip

1.将php_amqp.dll放在php的ext目录里,然后修改php.ini文件,在文件的最后面添加两行

[amqp]
extension=php_amqp.dll

2.将rabbitmq.1.dll文件放在php的根目录里(也就是ext目录的父级目录),然后修改apache的httpd.con文件,文件尾部添加一行

LoadFile  "d:/wamp/bin/php/php5.5.12/rabbitmq.1.dll"

这里的路径根据情况修改,我这里使用的wampserver软件。

3.重启apache,并查看phpinfo信息。只要看到amqp 字样即可。

amqp

下面我们看一下rabbitmq扩展amqp的用法:用PHP尝试RabbitMQ(amqp扩展)实现消息的发送和接收

55 thoughts on “windows下安装rabbitmq的php扩展amqp(原创)

  1. Pingback: 用PHP尝试RabbitMQ(amqp扩展)实现消息的发送和接收 | 学习笔记

  2. Pingback: where to find real estate agent

  3. Pingback: 검증토토사이트

  4. Pingback: Master Grower Certification

  5. Pingback: http://ad-storm.pl/glos-miedzyrzecz-i-skwierzyny-12-2017-1475.php

  6. Pingback: miami studio

  7. Pingback: shoes

  8. Pingback: ウォーターサーバー

  9. Pingback: link 12 bet

  10. Pingback: tile bong da

  11. Pingback: cbdicals.com

  12. Pingback: 안전카지노

  13. Pingback: estared.net

  14. Pingback: cbd oil

  15. Pingback: porn

  16. Pingback: CBD

  17. Pingback: 럭스112

  18. Pingback: 안전토토사이트

  19. Pingback: judi online

  20. Pingback: Dental Training

  21. Pingback: एक्स एक्स एक्स वीडियो

  22. Pingback: 놀이터추천

  23. Pingback: 바카라 사이트 무료 쿠폰

  24. Pingback: seo prutser

  25. Pingback: Dumps Shop - Valid Dumps Shop sell dumps with pin online

  26. Pingback: corey zieman reviews

  27. Pingback: british dragon for sale

  28. Pingback: Car Brake Repair

  29. Pingback: Apartment Corp CEO Marc

  30. Pingback: 먹튀검증

  31. Pingback: german shephard puppies for sale near me in usa canada uk australia europe cheap

  32. Pingback: lo de

  33. Pingback: Testing36

  34. Pingback: best way to get website visitors

  35. Pingback: runescape game gold purchase

  36. Pingback: buy viagra

  37. Pingback: Coolsculpting

  38. Pingback: Play Indonesian Games

  39. Pingback: free movies to watch

  40. Pingback: Bitcoin Evolution Review

  41. Pingback: how to get views

  42. Pingback: immediate edge

  43. Pingback: youtube video downloader for pc

  44. Pingback: appeak poker

  45. Pingback: Top Indonesian Poker Game

  46. Pingback: buy bulk limit switches

  47. Pingback: Online gambling site singapore

  48. Pingback: get cbd products affordable price

  49. Pingback: casino games in singapore

  50. Pingback: online image compression tool

  51. Pingback: portable air purifier

  52. Pingback: battery manufacturing plant cost in india

  53. Pingback: business quality

  54. Pingback: open rar file online

  55. Pingback: one time offers

Comments are closed.