rdkafka swoole

1、yum install php-devel php-pear

2、 wget http://pear.php.net/go-pear.phar

3、PHP go-pear.phar

4、cp /root/pear/bin/pear /usr/local/bin

5、cp /root/pear/bin/pecl /usr/local/bin

6、yum install glibc-headers gcc-c++

7、pecl install rdkafka

8、pecl install swoole

9、vim /etc/php.ini

 

posted @ 2019-11-25 15:51  agang_19  阅读(279)  评论(0编辑  收藏  举报