二、stomp扩展

  1. 参考
    ActiveMQ安装部署(Windows)
    http://blog.csdn.net/clj198606061111/article/details/38145597
    mac安装stomp
    http://www.imooc.com/article/18720?block_id=tuijian_wz
    php 利用activeMq+stomp实现消息队列
    https://www.cnblogs.com/sdgf/p/6233255.html
    php ActiveMQ的发送消息,与处理消息
    https://www.cnblogs.com/jkko123/p/6685902.html

  2. CentOS php7

wget [http://pecl.php.net/get/stomp](http://pecl.php.net/get/stomp)
tar xzf stomp-2.0.1.tgz
cd stomp-2.0.1
phpize
./configure --enable-stomp --with-php-config=/usr/local/php7/bin/php-config
make && make install
Installing shared extensions:     /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/
  1. CentOS php5.6
    服务器php5.6只能安装stomp1.0
/usr/local/php56/bin/phpize  
./configure --enable-stomp --with-php-config=/usr/local/php56/bin/php-config
make && make install

你可能感兴趣的:(二、stomp扩展)