From d2a2883834ace18ee3a7ac901223a14ad0e27eb3 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Thu, 28 Nov 2024 15:23:15 +0100 Subject: [PATCH] Fix installing smbclient on PHP 5.5/5.6 (#1020) --- install-php-extensions | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install-php-extensions b/install-php-extensions index 66cb9d87..c31ae151 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -3893,6 +3893,13 @@ installRemoteModule() { fi fi ;; + smbclient) + if test -z "$installRemoteModule_version"; then + if test $PHP_MAJMIN_VERSION -le 506; then + installRemoteModule_version=1.1.1 + fi + fi + ;; snappy) if test -z "$installRemoteModule_path"; then if test -z "$installRemoteModule_version"; then