INSTALLATION
------------

AMQP is a module which allows communication between Drupal and an AMQP message queue server (such as RabbitMQ).

Before enabling the AMQP module, you will need to follow these steps:

  1. Install librabbitmq RPC library (follow instructions at http://us.php.net/manual/en/amqp.installation.php)

    On Ubuntu:

      sudo apt-get install mercurial meld autoconf libtool
      git clone https://github.com/alanxz/rabbitmq-c
      cd rabbitmq-c
      hg clone http://hg.rabbitmq.com/rabbitmq-codegen codegen
      autoreconf -i && ./configure && make && sudo make install

  2. Install AMQP PHP extension (using PECL):

      sudo pecl install amqp

  3. Edit php.ini file (usually in /etc/php5/apache2/php.ini) and add the following line:

      extension=amqp.so

  4. Restart Apache to enable extension.

      sudo apachectl graceful

Once the above steps are completed, you can enable the module at 
  Administer > Site Building > Modules

Configuration of the module at
  Administer > Site Configuration > AMQP

