"how to install php amqp in ubuntu" Code Answer

1

you need to download the code for the php library from here: http://code.google.com/p/php-amqp/downloads/list

then cd into that folder and run the command they tell you to run.

update: that page is actually an old page, they haven't updated it in a long time. you can grab the latest amqp from http://pecl.php.net/get/amqp:

wget http://pecl.php.net/get/amqp -o amqp.tar.gz
tar -zxvf amqp.tar.gz
cd amqp-1.0.7    # replace this with the current version
phpize
./configure --with-amqp
make
sudo make install

then you'll need to add the following line to your php.ini file:

extension=amqp.so
By vinesh on May 18 2022

Answers related to “how to install php amqp in ubuntu”

Only authorized users can answer the Search term. Please sign in first, or register a free account.