File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -481,6 +481,20 @@ public static function getConfig(): array
481
481
rm ioncube_loaders_lin_ \${ioncube_arch}.tar.gz
482
482
BASH
483
483
],
484
+ '8.1 ' => [
485
+ self ::EXTENSION_TYPE => self ::EXTENSION_TYPE_INSTALLATION_SCRIPT ,
486
+ self ::EXTENSION_INSTALLATION_SCRIPT => <<< BASH
487
+ cd /tmp
488
+ if [ $(uname -m) = "x86_64" ]; then ioncube_arch="x86-64"; else ioncube_arch="aarch64"; fi
489
+ curl -O https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_ \${ioncube_arch}.tar.gz
490
+ tar zxvf ioncube_loaders_lin_ \${ioncube_arch}.tar.gz
491
+ export PHP_VERSION=$(php -r "echo PHP_MAJOR_VERSION.'.'.PHP_MINOR_VERSION;")
492
+ export PHP_EXT_DIR=$(php-config --extension-dir)
493
+ cp "./ioncube/ioncube_loader_lin_ \${PHP_VERSION}.so" " \${PHP_EXT_DIR}/ioncube.so"
494
+ rm -rf ./ioncube
495
+ rm ioncube_loaders_lin_ \${ioncube_arch}.tar.gz
496
+ BASH
497
+ ]
484
498
],
485
499
];
486
500
}
You can’t perform that action at this time.
0 commit comments