To install the AMQP PHP extension, you must first install the » librabbitmq library. You will need the 0-9-1 version of the rabbitmq-c client library, linked to the rabbitmq-codegen version that corresponds to the version of the broker you are using. Use the following steps to download and install the library:
# Download the rabbitmq-c library @ version 0-9-1 hg clone http://hg.rabbitmq.com/rabbitmq-c/rev/b01825ecc112 rabbitmq-c cd rabbitmq-c # Add the codegen requirement. To find the full list, go here: http://hg.rabbitmq.com/rabbitmq-codegen/tags # and copy the URL for the appropriate broker version. hg clone http://hg.rabbitmq.com/rabbitmq-codegen/rev/16bbcb711380 codegen # Configure, compile and install autoreconf -i && ./configure && make && sudo make install
Informație despre instalarea acestei extensii PECL poate fi găsită în capitolul manualului, întitulat Instalarea extensiilor PECL. Informații adiționale, cum ar fi lansări noi, descărcări, fișiere-sursă, informații despre persoana care întreține extensia și istoria schimbărilor poate fi localizată aici: » http://pecl.php.net/package/amqp.
Note to Windows users: This extension does not currently support Windows since the librabbitmq library does not yet support Windows.