diff --git a/MAINTAINERS.md b/MAINTAINERS.md index 90e19ea..55edd7e 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -99,6 +99,11 @@ We should switch to the stable release once it will be available. The only available versions of the `parle` PHP extension are all beta. We should switch to the stable release once it will be available. +### saxon + +The `saxon` PHP extension is not available in the PECL archive, so we install it manually. +We need to monitor new releases at https://www.saxonica.com/download/c.xml + ### snappy The `snappy` PHP extension is not available in the PECL archive, so we install it manually. diff --git a/data/special-requirements b/data/special-requirements index 9c45e5c..9b63b33 100644 --- a/data/special-requirements +++ b/data/special-requirements @@ -8,6 +8,7 @@ parallel zts parle !jessie pdo_sqlsrv !arm pthreads zts +saxon !alpine simdjson !jessie !stretch sodium !jessie sqlsrv !7.1-alpine3.9 !7.1-alpine3.10 !arm diff --git a/data/supported-extensions b/data/supported-extensions index 880434b..eeb89d1 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -92,6 +92,7 @@ rdkafka 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 recode 5.5 5.6 7.0 7.1 7.2 7.3 redis 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 relay 7.4 8.0 8.1 8.2 8.3 +saxon 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 seasclick 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 seaslog 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 shmop 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 diff --git a/install-php-extensions b/install-php-extensions index 9a84d44..e836f94 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -3517,8 +3517,8 @@ installRemoteModule() { ;; saxon) if test -z "$installRemoteModule_version"; then - if test $PHP_MAJMIN_VERSION -le 506; then - installRemoteModule_version='11.6' + if test $PHP_MAJMIN_VERSION -ge 800; then + installRemoteModule_version='12.4.2' else installRemoteModule_version='12.3' fi @@ -3546,7 +3546,6 @@ installRemoteModule() { ldconfig || true fi cd "$installRemoteModule_dir/Saxon.C.API" - exit phpize ./configure --enable-saxon make -j$(getProcessorCount) install diff --git a/scripts/check-installed-extension.php b/scripts/check-installed-extension.php index d0604d7..54d6ad9 100644 --- a/scripts/check-installed-extension.php +++ b/scripts/check-installed-extension.php @@ -6,6 +6,7 @@ $nameMap = [ 'opcache' => 'Zend OPcache', 'apcu_bc' => 'apc', 'ioncube_loader' => 'ionCube Loader', + 'saxon' => 'saxonc', ]; if (PHP_VERSION_ID < 70000) { $nameMap['sodium'] = 'libsodium';