diff --git a/scripts/_common.sh b/scripts/_common.sh index 566747d..431d2c2 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -26,6 +26,9 @@ init_composer() { php -- --quiet --install-dir="$destdir" \ || ynh_die "Unable to install Composer" + # Force the dependance to php 5.6 + exec_composer "$destdir" config -g platform.php 5.6 + exec_composer "$destdir" update --no-dev # update dependencies to create composer.lock exec_composer "$destdir" install --no-dev \ || ynh_die "Unable to update PhpMyAdmin core dependencies"