diff --git a/plugins/php-apt/install.sh b/plugins/php-apt/install.sh index c975b2c18..79285a4a9 100755 --- a/plugins/php-apt/install.sh +++ b/plugins/php-apt/install.sh @@ -100,7 +100,7 @@ if [ "${action}" == "install" ] && [ -d ${serverPath}/php-apt/${type} ];then if [ ! -f /usr/local/bin/composer ];then cd /tmp - curl -sS https://getcomposer.org/installer | /usr/bin/php${type:0:1}.${type:1:2} + curl -sS https://getcomposer.org/installer | /usr/bin/php${apt_ver} mv composer.phar /usr/local/bin/composer fi