Created
May 5, 2012 00:24
-
-
Save prufrock/2598716 to your computer and use it in GitHub Desktop.
install the php amqp install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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