PHP C扩展AMQP(高级消息队列协议)使用librabbitmq
代码说明:
php-amqp is a PHP Extension written in C to enable support for AMQP (Advanced Message Queuing Protocol) messaging directly from PHP. The extension is using the rabbitmq library (Version 1.6.0, AMQP Version 0.8) (http://hg.rabbitmq.com/rabbitmq-c). Installation Download librabbitmq-c from from http://hg.rabbitmq.com/rabbitmq-c/ and extract its contents. Download librabbitmq-codegen from http://hg.rabbitmq.com/rabbitmq-codegen/ and extract its contents to a subdirectory in librabbitmq-c named "codegen" or if you have mercurial installed: hg clone http://hg.rabbitmq.com/rabbitmq-ccd rabbitmq-chg clone http://hg.rabbitmq.com/rabbitmq-codegen codegen Compile and install librabbitmq using: autoreconf -i && ./configure && make && sudo make install Download and unpack the PHP extension, compile and install it using: phpize && ./configure --with-amqp && make
下载说明:请别用迅雷下载,失败请重下,重下不扣分!