首页 > 代码库 > 编译安装amqplib(RabbitMQ的phpAPI)

编译安装amqplib(RabbitMQ的phpAPI)

1.安装bcmath扩展

--enable-bcmath

2.在项目根目录创建composer.json:

{
   "require":{
                  "php-amqplib/php-amqblib":"2.6.*"
              }
}

3.# composer install

编译安装amqplib(RabbitMQ的phpAPI)