Installing RabbitMQ and the PHP PECL extension on Ubuntu 14.04 LTS RabbitMQ apt repository sudo add-apt-repository 'deb http://www.rabbitmq.com/debian/ testing main' curl http://www.rabbitmq.com/rabbitmq-signing-key-public.asc | sudo apt-key add - sudo apt-get update RabbitMQ server and management plug-in sudo apt-get install rabbitmq-server sudo rabbitmq-plugins enable rabbitmq_management AMQP PECL extension and dependencies sudo apt-get install librabbitmq-dev librabbitmq1 sudo pecl install amqp Enabling the AMQP PECL extension echo extension=amqp.so | sudo tee /etc/php5/mods-available/amqp.ini sudo php5enmod amqp