From 05ddea7f492f5a97b925747cba6ceb460c52d8ca Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Fri, 5 Aug 2022 16:49:25 +0200 Subject: [PATCH] Fix installing xdebug 3.2 on Alpine Linux (#623) --- install-php-extensions | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install-php-extensions b/install-php-extensions index 1cf7ae1..ce4a5f6 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -1292,6 +1292,11 @@ buildRequiredPackageLists() { wddx@debian) buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libxml2-dev" ;; + xdebug@alpine) + if test $PHP_MAJMIN_VERSION -ge 800; then + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile linux-headers" + fi + ;; xlswriter@alpine) buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile zlib-dev" ;;