文件名称:PHP 7的 librdkafka-1.2.0.tar.gz 扩展安装
文件大小:2.42MB
文件格式:GZ
更新时间:2022-11-03 08:23:31
php-rdkafka
kafka扩展 安装librdkafka https://github.com/edenhill/librdkafka tar -zxvf librdkafka-1.2.0.tar.gz -C /usr/local/ && cd /usr/local/librdkafka-1.2.0 && ./configure && make && make install && ln -s /usr/local/lib/librdkafka.so.1 /usr/lib/ 安装php-rdkafka https://github.com/arnaud-lb/php-rdkafka tar -zxvf php-rdkafka-3.1.2.tar.gz && cd /root/php-rdkafka-3.1.2 && /usr/local/php7/bin/phpize && ./configure --with-php-config=/usr/local/php7/bin/php-config && make all -j 5 && make install