<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Installation</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="amqp.requirements.html">Requirements</a></div> <div class="next" style="text-align: right; float: right;"><a href="amqp.configuration.html">Runtime Configuration</a></div> <div class="up"><a href="amqp.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="amqp.installation" class="section"> <h2 class="title">Installation</h2> <p class="para"> To install the AMQP PHP extension, you must first install the <a href="https://github.com/alanxz/rabbitmq-c" class="link external">» librabbitmq</a> 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: </p> <div class="example-contents"> <div class="shellcode"><pre class="shellcode"># Download the rabbitmq-c library @ version 0-9-1 git clone git://github.com/alanxz/rabbitmq-c.git cd rabbitmq-c # Enable and update the codegen git submodule git submodule init git submodule update # Configure, compile and install autoreconf -i && ./configure && make && sudo make install</pre> </div> </div> <p class="para"> Information for installing this PECL extension may be found in the manual chapter titled <a href="install.pecl.html" class="link">Installation of PECL extensions</a>. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: <a href="http://pecl.php.net/package/amqp" class="link external">» http://pecl.php.net/package/amqp</a>. </p> <p class="para"> Note to Windows users: This extension does not currently support Windows since the librabbitmq library does not yet support Windows. </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="amqp.requirements.html">Requirements</a></div> <div class="next" style="text-align: right; float: right;"><a href="amqp.configuration.html">Runtime Configuration</a></div> <div class="up"><a href="amqp.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>