Amqp

Yet another post

[[Wiki]]

h1. AMQP php client

sudo apt-get install git-core php5-cli cd dwnl git clone http://github.com/videlalvaro/php-amqplib.git lib/php-amqplib

cd lib/php-amqplib make

cd demo nano config.php

# Send a message php amqp_publisher.php “GizurCloud MQ server is working!!”

# Receive the message php amqp_consumer.php

  • https://github.com/rabbitmq/rabbitmq-tutorials/tree/master/php

Some files tutorial to test with:

cd ~ mkdir git && cd git git clone https://github.com/rabbitmq/rabbitmq-tutorials/