To install the AMQP PHP extension, you must first install the » librabbitmq library. Use the following steps to download and install the library:
# Download the rabbitmq-c library hg clone http://hg.rabbitmq.com/rabbitmq-c/rev/3c549bb09c16 cd rabbitmq-c # Add the codegen requirement hg clone http://hg.rabbitmq.com/rabbitmq-codegen/rev/f8b34141e6cb codegen # Configure, compile and install autoreconf -i && ./configure && make && sudo make install
安装此 PECL 扩展相关的信息可在手册中标题为 PECL 扩展的安装 章节中找到。另外的信息,如新的发行版本、下载、源文件、 Additional information such as new releases,维护人员信息及变更日志等,都在此处:
Note to Windows users: This extension does not currently support Windows since the librabbitmq library does not yet support Windows.