Fix installing ssh2 on PHP 7.4
parent
5eda6e52f8
commit
08270a2dd5
|
@ -1880,6 +1880,13 @@ installRemoteModule() {
|
|||
fi
|
||||
;;
|
||||
ssh2)
|
||||
if test -z "$installRemoteModule_version"; then
|
||||
if test $PHP_MAJMIN_VERSION -le 506; then
|
||||
installRemoteModule_version=0.13
|
||||
elif test $PHP_MAJMIN_VERSION -le 704; then
|
||||
installRemoteModule_version=1.2
|
||||
fi
|
||||
fi
|
||||
if test -z "$installRemoteModule_version" && test $PHP_MAJMIN_VERSION -ge 800; then
|
||||
installRemoteModule_src="$(getPackageSource https://codeload.github.com/php/pecl-networking-ssh2/tar.gz/93265d71bdeb23350e8320126c7949ed791310df)"
|
||||
cd -- "$installRemoteModule_src"
|
||||
|
|
Loading…
Reference in New Issue