downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Configuración en tiempo de ejecución> <Requerimientos
[edit] Last updated: Fri, 07 Jun 2013

view this page in

Instalación

Para instalar la extensión AMQP de PHP, se debe primero instalar la biblioteca » librabbitmq. Se necesitará la versión 0-9-1 de la biblioteca cliente rabbitmq-c, vinculada a la versión de rabbitmq-codegen que corresponde a la versión del agente que se esté usando. Siga los siguientes pasos para descarar e instalar la biblioteca:

# Descargar la biblioteca rabbitmq-c @ versión 0-9-1
  git clone git://github.com/alanxz/rabbitmq-c.git
  cd rabbitmq-c
  # Habilitar y actualizar el submódulo de git codegen
  git submodule init
  git submodule update
  # Configurar, compilar e instalar
  autoreconf -i && ./configure && make && sudo make install

Se puede encontrar información para la instalación de esta extensión PECL en el capítulo del manual titulado Instalación de extensiones PECL. Se puede encontrar información adicional, tal como nuevos lanzamientos, descargas, ficheros fuente, información de mantenimiento, y un CHANGELOG, aquí: » http://pecl.php.net/package/amqp.

Nota para los usarios de Windows: Ésta extensión no la soporta actualmente Windows ya que la biblioteca librabbitmq aún no admite Windows.



Configuración en tiempo de ejecución> <Requerimientos
[edit] Last updated: Fri, 07 Jun 2013
 
add a note add a note User Contributed Notes Instalación - [8 notes]
up
0
nathan at nathanjohnson dot info
1 month ago
Windows is supported by the underlying lib, and has been for some time.  It's also supported by extension author at their github page.

https://github.com/pdezwart/php-amqp

go there.

I have some precompiled 32 bit windows php 5.3 binaries on my site:

http://www.nathanjohnson.info/?p=77

I've also documented how I went about building the binaries, so 64 bit  builds or 5.4 builds should be fairly easy to do following the same recipe.
up
0
zhenyi2697 at gmail.com
7 days ago
@ pomaxa at gmail dot com

Totally agree. I've followed the instruction and I've successfully intalled this extension.
up
0
maik penz
8 months 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
pomaxa at gmail dot com
1 year 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
0
rgagnon
1 year ago
PECL now has stable version 1.0.0 of this code that does compile cleanly with PHP >= 5.0 (as of 15-Feb-2012).    I personally had a clean build with no warnings under 5.2.17

Previously the code was not stable, and only compiled nicely under 5.3

I don't know what's up with the extension posted on code.google.com, but the PECL one is the supported extension.

http://pecl.php.net/amqp
up
0
LilaeaMedia
1 year ago
Make sure you are using http://pecl.php.net/get/amqp
up
0
soham
2 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 ..'
up
0
brian dot ngure at gmail dot com
2 years ago
Have a look at the installation instructions on the Google Code site, found here: http://code.google.com/p/php-amqp/

Brian

 
show source | credits | stats | sitemap | contact | advertising | mirror sites