Install alpha versions of the ION extension (#680)

There's no stable/beta version published on PECL
pull/681/head
Michele Locati 2023-01-20 17:02:26 +01:00 committed by GitHub
parent 9c94d6d21c
commit 2d0b8b0d99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -61,8 +61,10 @@ We need to monitor new releases at https://jprs.co.jp/idn
### ion
We manually compile the `ion-c` library.
We need to monitor new releases at https://github.com/amzn/ion-c/releases
- We manually compile the `ion-c` library.
We need to monitor new releases at https://github.com/amzn/ion-c/releases
- The only available versions of the `ion` PHP extension are all alpha.
We should switch to the stable release once it will be available.
### ionCube Loader

View File

@ -2741,6 +2741,9 @@ installRemoteModule() {
fi
;;
ion)
if test -z "$installRemoteModule_version"; then
installRemoteModule_version=alpha
fi
if ! test -f /usr/local/lib/libionc.so || ! test -f /usr/local/include/ionc/ion.h; then
echo 'Installing ion-c... '
installRemoteModule_src="$(mktemp -p /tmp/src -d)"