1
0
Fork 0
mirror of https://github.com/mlocati/docker-php-extension-installer synced 2025-05-09 08:32:42 +00:00

Add support for Tensor with PHP 8

This commit is contained in:
Michele Locati 2021-05-25 09:12:08 +02:00
parent a004e20f2e
commit f93b8770e1
No known key found for this signature in database
GPG key ID: 98B7CE2E7234E28B
2 changed files with 10 additions and 1 deletions

View file

@ -2136,6 +2136,15 @@ installRemoteModule() {
rm "$PHP_INI_DIR/conf.d/tdlib.ini"
installRemoteModule_manuallyInstalled=1
;;
tensor)
if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 703; then
installRemoteModule_version=2.2.3
elif test $PHP_MAJMIN_VERSION -ge 800; then
installRemoteModule_version=beta
fi
fi
;;
uopz)
if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 506; then