Explain that some modules listed in docker-php-ext-* scripts are already compiled in

This commit is contained in:
Joe Ferguson
2017-09-19 15:43:41 -07:00
parent d7bfdb5895
commit c7a848cc37
3 changed files with 20 additions and 7 deletions

View File

@ -11,6 +11,9 @@ usage() {
echo
echo 'Possible values for module-name:'
echo $(find -maxdepth 1 -type f -name '*.so' -exec basename '{}' ';' | sort)
echo
echo 'Some of the above modules are already compiled into PHP; please check'
echo 'the ouptut of "php -i" to see which modules are already loaded.'
}
opts="$(getopt -o 'h?' --long 'help,ini-name:' -- "$@" || { usage >&2 && false; })"