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