mirror of
https://github.com/danog/docker-php-extension-installer.git
synced 2024-12-11 17:09:51 +01:00
83b22e786c
Test: memcached, memcached+igbinary, memcached+msgpack, memcached+igbinary+msgpack
19 lines
526 B
Bash
Executable File
19 lines
526 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
|
|
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
|
|
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
|
|
fi
|
|
fi
|
|
fi
|