These are binaries for the following shared libraries to use the Kafka message broker from PHP:
- librdkafka C driver
- php-rdkafka PHP extension based on
librdkafka
- php-kafka PHP extension based on
librdkafka
This repository contains versions of these binaries built for amd64 on the following PHP and OS version combinations.
Each binary is on a separate branch; please pull the binaries from the branch that matches your OS / PHP version
- PHP5.6 on Ubuntu 14.04
- PHP5.6 on Ubuntu 16.04
- PHP7.0 on Ubuntu 14.04
- PHP7.0 on Ubuntu 16.04
- PHP7.1 on Ubuntu 14.04
- PHP7.1 on Ubuntu 16.04
The v0.1 and v0.2 branches are there for legacy reasons and should not be used
The PHP runtimes are from the ppa:ondrej/php
. You must install PHP from this PPA in order for these binaries to function.
The binaries are built in the provided Docker container. Ensure you have Docker installed, then run the provided ./build.sh script from the branch that matches your desired OS / PHP version combination.
To change PHP version, change the variable sent to Docker in the build.sh script.
TO change Ubuntu version, change the base image in the Dockerfile.