diff --git a/install-php-extensions b/install-php-extensions index c59bf88..50206dd 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -431,6 +431,14 @@ buildRequiredPackageLists () { pthreads@alpine) buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile $PHPIZE_DEPS" ;; + rdkafka@alpine) + buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent librdkafka" + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile librdkafka-dev" + ;; + rdkafka@debian) + buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent librdkafka++1" + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile librdkafka-dev" + ;; recode@alpine) buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent recode" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile recode-dev" @@ -893,6 +901,11 @@ installPECLModule () { installPECLModule_actual="$2-2.0.10" fi ;; + rdkafka) + if test ! -z "$(apt-cache show librdkafka++1 | grep -E '^Version: 0.9')"; then + installPECLModule_actual="$2-3.1.3" + fi + ;; redis) if test $1 -le 506; then installPECLModule_actual="$2-4.3.0"