Exploring RabbitMQ and PHP

I’m exploring the possibility of using RabbitMQ for an upcoming project. RabbitMQ is a free/open source message broker platform. It uses the open Advanced Message Queuing Protocol (AMQP) standard and is written in Erlang using the Open Telecom Platform (OTP). It promises a high level of availability, throughput, scalability, and portability. Since it is built using open standards, it is interoperable with other messaging systems and can be accessed from any platform.

I’ll be using RabbitMQ first from PHP, but I plan on using it to send and receive messages to and from other systems. Following are the steps I used to get RabbitMQ and PHP’s AMQP library setup on my development machine.

There are several other options that can be set, and a lot more to learn about RabbitMQ and AMP. Check out the documentation for PHP’s AMQP extension for details about working with AMQP servers from PHP.

we have been working with the pecl extension, and we fixed several bugs. But I think there are more bugs in it, so be careful using it in production. Also it lacks much funcionality. You can’t set how many messages the receiver should Max receive, and that is quickly a show stopper. There exists pear amqp libs that works better. don’t have the link here now.

Have you tried these instructions under Lion? or whilst running Zend Server. I’m getting crazy linking errors when I follow the instructions that I can’t find any information on. I know it’s probably going to be a linking issue with my environment but I figured I’d ask anyway 🙂