Linux Programmieren Web

Installing AMQP through PECL

It seems to be a problem to find an easy to use solution to install AMQP support for PHP through PECL. As I already mentioned, I used to build the client library on my own and it worked like a charm.

If you are having troubles installing AMQP, use the following steps to get that thingy working:

  • git clone git://
  • cd rabbitmq-c
  • git submodule init
  • git submodule update
  • autoreconf -i && ./configure && make && sudo make install
  • sudo pecl install amqp

Please be sure, that you always copy bash commands to an editor before using them in your terminal. Some sites may hide addtional code in their posts to infect you.

Leave a Reply

Your email address will not be published. Required fields are marked *