﻿{"id":1338,"date":"2015-08-06T15:45:58","date_gmt":"2015-08-06T07:45:58","guid":{"rendered":"http:\/\/nick.txtcc.com\/?p=1338"},"modified":"2015-08-06T15:51:17","modified_gmt":"2015-08-06T07:51:17","slug":"installing-rabbitmq-ubuntu-12-04-with-php-extensionamqp","status":"publish","type":"post","link":"http:\/\/nick.txtcc.com\/index.php\/linux\/1338","title":{"rendered":"Installing RabbitMQ Ubuntu 12.04 with PHP extension(AMQP)"},"content":{"rendered":"<p>download from <a href=\"http:\/\/pecl.php.net\/package\/amqp\">http:\/\/pecl.php.net\/package\/amqp<\/a><\/p>\n<p>apt-get install librabbitmq0\nln -s \/usr\/lib\/librabbitmq.so.0 \/usr\/local\/lib\/librabbitmq.so\ngit clone <a href=\"https:\/\/github.com\/alanxz\/rabbitmq-c\">https:\/\/github.com\/alanxz\/rabbitmq-c<\/a> rabbitmq-c\ncd rabbitmq-c\ncp .\/librabbitmq\/amqp_framing.h \/usr\/local\/include\/\ncp .\/librabbitmq\/amqp.h \/usr\/local\/include\/<\/p>\n<p>cd ..\/amqp-1.2.0\nphpize\n.\/configure &#8211;with-amqp\nmake\nmake test\nmake install\necho &#8220;extension=amqp.so&#8221; >> \/etc\/php5\/cli\/php.ini<\/p>","protected":false},"excerpt":{"rendered":"<p>download from <a href=\"http:\/\/pecl.php.net\/package\/amqp\">http:\/\/pecl.php.net\/package\/amqp<\/a> apt-get install librabbitmq0 ln -s \/usr\/lib\/librabbit&#46;&#46;&#46;<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,15],"tags":[422,442,424,423],"class_list":["post-1338","post","type-post","status-publish","format-standard","hentry","category-linux","category-php","tag-amqp","tag-php","tag-rabbitmq","tag-ubuntu12"],"_links":{"self":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/comments?post=1338"}],"version-history":[{"count":3,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1338\/revisions"}],"predecessor-version":[{"id":1341,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1338\/revisions\/1341"}],"wp:attachment":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/media?parent=1338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/categories?post=1338"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/tags?post=1338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}