|
|
|
@ -85,14 +85,16 @@ if [ "${action}" == "install" ] && [ -d ${serverPath}/php-apt/${type} ];then |
|
|
|
|
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${type:0:1}.${type:1:2} install xml |
|
|
|
|
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${type:0:1}.${type:1:2} install mcrypt |
|
|
|
|
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${type:0:1}.${type:1:2} install mysqlnd |
|
|
|
|
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${type:0:1}.${type:1:2} install mysql |
|
|
|
|
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${type:0:1}.${type:1:2} install gettext |
|
|
|
|
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${type:0:1}.${type:1:2} install redis |
|
|
|
|
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${type:0:1}.${type:1:2} install memcached |
|
|
|
|
cd ${rootPath}/plugins/php-apt/versions && bash common.sh ${type:0:1}.${type:1:2} install mbstring |
|
|
|
|
echo "install PHP-APT[${type}] extend end" |
|
|
|
|
|
|
|
|
|
if [ ! -f /usr/local/bin/composer ];then |
|
|
|
|
cd /tmp |
|
|
|
|
curl -sS https://getcomposer.org/installer | php |
|
|
|
|
curl -sS https://getcomposer.org/installer | /usr/bin/php${type:0:1}.${type:1:2} |
|
|
|
|
mv composer.phar /usr/local/bin/composer |
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
|