2020-10-18 17:32:48 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2021-09-28 10:27:17 +00:00
|
|
|
. "$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)/_bootstrap.sh"
|
2020-10-18 17:32:48 +00:00
|
|
|
|
2020-10-18 19:12:22 +00:00
|
|
|
rc=0
|
2020-10-18 17:32:48 +00:00
|
|
|
MODULE_CONFIGURATION="$(php --ri memcached)"
|
|
|
|
if test $1 -ge 70000; then
|
|
|
|
if php --ri igbinary >/dev/null 2>/dev/null; then
|
|
|
|
if test -z "$(printf '%s' "$MODULE_CONFIGURATION" | grep 'igbinary support => yes')"; then
|
|
|
|
echo 'igbinary support has NOT been enabled!' >&2
|
2020-10-18 19:12:22 +00:00
|
|
|
rc=1
|
2020-10-18 17:32:48 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
if php --ri msgpack >/dev/null 2>/dev/null; then
|
|
|
|
if test -z "$(printf '%s' "$MODULE_CONFIGURATION" | grep 'msgpack support => yes')"; then
|
|
|
|
echo 'msgpack support has NOT been enabled!' >&2
|
2020-10-18 19:12:22 +00:00
|
|
|
rc=1
|
2020-10-18 17:32:48 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
2020-10-18 19:12:22 +00:00
|
|
|
exit $rc
|