mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-22 08:51:16 +00:00
PHP module readline only needs to be checked for cli usage
This commit is contained in:
@@ -224,6 +224,9 @@ RUN set -x \
|
||||
{%- if ext == 'opcache' %}
|
||||
&& php -m | grep -oiE '^Zend Opcache$' \
|
||||
&& php-fpm -m | grep -oiE '^Zend Opcache$' \
|
||||
{# #}
|
||||
{%- elif ext == 'readline' %}
|
||||
&& php -m | grep -oiE '^readline$' \
|
||||
{# #}
|
||||
{%- elif ext not in ['ioncube'] %}
|
||||
&& php -m | grep -oiE '^{{ ext }}$' \
|
||||
|
||||
@@ -1248,7 +1248,6 @@ extensions_available:
|
||||
build_dep: [libpspell-dev]
|
||||
run_dep: [libaspell15]
|
||||
readline:
|
||||
disabled: [5.3]
|
||||
already_avail: "{{ php_all_versions }}"
|
||||
recode:
|
||||
already_avail: [5.3, 5.4]
|
||||
|
||||
Reference in New Issue
Block a user