Support installing SSH2 on PHP 8
parent
c64e03faaf
commit
5eda6e52f8
|
@ -72,7 +72,7 @@ soap 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||||
sockets 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
sockets 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||||
solr 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
solr 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||||
sqlsrv 7.0 7.1 7.2 7.3 7.4 8.0
|
sqlsrv 7.0 7.1 7.2 7.3 7.4 8.0
|
||||||
ssh2 5.5 5.6 7.0 7.1 7.2 7.3 7.4
|
ssh2 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||||
swoole 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
swoole 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||||
sybase_ct 5.5 5.6
|
sybase_ct 5.5 5.6
|
||||||
sysvmsg 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
sysvmsg 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||||
|
|
|
@ -1093,7 +1093,7 @@ setTargetTriplet() {
|
||||||
# The number of processors to be used
|
# The number of processors to be used
|
||||||
getCompilationProcessorCount() {
|
getCompilationProcessorCount() {
|
||||||
case "$1" in
|
case "$1" in
|
||||||
amqp | bcmath | bz2 | calendar | exif | gd | gettext | grpc | http | imagick | intl | mysqli | opcache | pcntl | pdo_mysql | protobuf | redis | soap | sockets | tidy | xdebug | xsl | yaml | zip)
|
amqp | bcmath | bz2 | calendar | exif | gd | gettext | grpc | http | imagick | intl | mysqli | opcache | pcntl | pdo_mysql | protobuf | redis | ssh2 | soap | sockets | tidy | xdebug | xsl | yaml | zip)
|
||||||
# These extensions support parallel compilation
|
# These extensions support parallel compilation
|
||||||
getProcessorCount
|
getProcessorCount
|
||||||
;;
|
;;
|
||||||
|
@ -1879,6 +1879,18 @@ installRemoteModule() {
|
||||||
addConfigureOption 'enable-redis-zstd' 'yes'
|
addConfigureOption 'enable-redis-zstd' 'yes'
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
ssh2)
|
||||||
|
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"
|
||||||
|
phpize
|
||||||
|
./configure
|
||||||
|
make -j$(getCompilationProcessorCount)
|
||||||
|
make install
|
||||||
|
cd - >/dev/null
|
||||||
|
installRemoteModule_manuallyInstalled=1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
snuffleupagus)
|
snuffleupagus)
|
||||||
if test -z "$installRemoteModule_version"; then
|
if test -z "$installRemoteModule_version"; then
|
||||||
installRemoteModule_version=0.7.0
|
installRemoteModule_version=0.7.0
|
||||||
|
|
Loading…
Reference in New Issue