Skip to content

Instantly share code, notes, and snippets.

@prufrock
Created May 5, 2012 00:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prufrock/2598716 to your computer and use it in GitHub Desktop.
Save prufrock/2598716 to your computer and use it in GitHub Desktop.
install the php amqp install
cd /tmp/
hg clone http://hg.rabbitmq.com/rabbitmq-c/ rabbitmq-c
cd rabbitmq-c
hg clone http://hg.rabbitmq.com/rabbitmq-codegen codegen
autoreconf -i && ./configure && make && sudo make install
cd /tmp/
lynx http://pecl.php.net/package/amqp #Download latest
tar -xvf amqp-1.0.1.tgz
cd amqp-1.0.1
phpize && ./configure --with-amqp && make && sudo make install
cat "extension=amqp.so" > /etc/php5/apache2/conf.d/amqp.ini
cat "extension=amqp.so" > /etc/php5/cli/conf.d/amqp.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment