PHP 7.1.0 Released

Installation

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

Information for installing this PECL extension may be found in the manual chapter titled Installation of PECL extensions. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here:

Note to Windows users: This extension does not currently support Windows since the librabbitmq library does not yet support Windows.

add a note add a note

User Contributed Notes 5 notes

up
1
zhenyi2697 at gmail.com
3 years ago
@ pomaxa at gmail dot com

Totally agree. I've followed the instruction and I've successfully intalled this extension.
up
1
pomaxa at gmail dot com
4 years ago
For ubuntu 12.04, the only way to install this extension is to install rabbitmq-c lib prior, and the only working way is to follow instruction on : https://github.com/alanxz/rabbitmq-c
up
1
lorenzosjb at gmail dot com
1 year ago
They changed the repositories, please change the installation procedure to this:

git clone https://github.com/alanxz/rabbitmq-c
cd rabbitmq-c/
git clone http://hg.rabbitmq.com/rabbitmq-codegen/
autoreconf -i && ./configure && make && sudo make install
up
0
maik penz
4 years ago
On a mac os (10.5+) it was necessary to run aclocal prior to autoreconf.
./configure --enable-64-bit was useful too, since it would compile as 32bit by default.

The last line now looks like
aclocal && autoreconf -i && ./configure --enable-64-bit && make && sudo make install
up
0
soham
5 years ago
If you get these errors:

"error: possibly undefined macro: AM_PROG_LIBTOOL" ===> you need to install 'libtool'.

"Can't exec "aclocal"  ===> You need to install 'automake'

Use your linux distro's default providers to install them e.g. on opensuse, I'd use 'zypper install ..'
To Top