windows php7.3安装rabbitmq扩展

1,查看php   -v 

windows php7.3安装rabbitmq扩展_第1张图片

 2,ampq 扩展安装 

下载地址:http://pecl.php.net/package/amqp

windows php7.3安装rabbitmq扩展_第2张图片 windows php7.3安装rabbitmq扩展_第3张图片

选择和php版本匹配的文件下载,下载后php_amqp.dll 放到php的扩展目录,我本地的是php7.3nts 64位,因此对应这里下载php7.3 7.3 Non Thread Safe (NTS) x64

 我本地的是phpstudy ,在D:\phpstudy_pro\Extensions\php\php7.3.4nts\ext,rabbitmq.4.dll 放到该目录下,即和php.exe在一个目录,

我的目录是D:\phpstudy_pro\Extensions\php\php7.3.4nts

php.ini 添加扩展

extension=php_amqp

windows php7.3安装rabbitmq扩展_第4张图片windows php7.3安装rabbitmq扩展_第5张图片

windows php7.3安装rabbitmq扩展_第6张图片

windows php7.3安装rabbitmq扩展_第7张图片

你可能感兴趣的:(RabbitMQ,windows)