优美短文

centos php7 amqp


yum install -y librabbitmq-devel /home/git/php/bin/pecl install amqp echo "extension=amqp.so" >> /home/git/php/lib/php.ini

  mac

brew install rabbitmq-c
./pecl install amqp 
Set the path to librabbitmq install prefix [autodetect] : /usr/local/Cellar/rabbitmq-c/0.9.0
echo "extension=amqp.so" >> php.ini

  

posted @ 2019-06-20 10:11  一根PHP  阅读(420)  评论(0编辑  收藏  举报