So Tired !_! 逆水行舟, 不进则退!

6Aug/15

Installing RabbitMQ Ubuntu 12.04 with PHP extension(AMQP)

download from http://pecl.php.net/package/amqp

apt-get install librabbitmq0
ln -s /usr/lib/librabbitmq.so.0 /usr/local/lib/librabbitmq.so
git clone https://github.com/alanxz/rabbitmq-c rabbitmq-c
cd rabbitmq-c
cp ./librabbitmq/amqp_framing.h /usr/local/include/
cp ./librabbitmq/amqp.h /usr/local/include/

cd ../amqp-1.2.0
phpize
./configure --with-amqp
make
make test
make install
echo "extension=amqp.so" >> /etc/php5/cli/php.ini

anyShare分享到:
Comments (0) Trackbacks (0)

Sorry, the comment form is closed at this time.

Trackbacks are disabled.

site