Skip to content

Instantly share code, notes, and snippets.

@hamidreza-s
Created May 5, 2013 06:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save hamidreza-s/5519961 to your computer and use it in GitHub Desktop.
Save hamidreza-s/5519961 to your computer and use it in GitHub Desktop.
Installing AMQP Extension for PHP in CentOS operation system. This will create an amqp.so shared object that needs to be included in your php.ini file. Find the extensions portal of the ini and add “extension=amqp.so”.
$ git clone git://github.com/alanxz/rabbitmq-c.git
$ cd rabbitmq-c
$ git submodule init
$ git submodule update
$ yum install libtool
$ yum install autoconf
$ yum install automake
$ yum install php-pear
$ yum install php-devel
$ make
$ make install
$ pecl install AMQP
@jabberwock31415
Copy link

You left out a couple of steps before the make:

autoreconf -i
./configure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment