|
|
|
@ -15,19 +15,19 @@ DIR=$(cd "$(dirname "$0")"; pwd) |
|
|
|
|
# cd /www/server/mdserver-web/plugins/php/versions/81/ && bash imagemagick.sh install 81 |
|
|
|
|
# cd /www/server/mdserver-web/plugins/php/versions/70/ && bash imagemagick.sh install 70 |
|
|
|
|
|
|
|
|
|
PHP_VER=52 |
|
|
|
|
echo "php${PHP_VER} -- start" |
|
|
|
|
cmd_ext=$(ls -l $DIR/versions/$PHP_VER/ |awk '{print $9}') |
|
|
|
|
cd $DIR && /bin/bash install.sh install $PHP_VER |
|
|
|
|
for ii in $cmd_ext |
|
|
|
|
do |
|
|
|
|
if [ "install.sh" == "$ii" ];then |
|
|
|
|
echo '' > /tmp/t.log |
|
|
|
|
else |
|
|
|
|
cd $DIR/versions/$PHP_VER && /bin/bash $ii install $PHP_VER |
|
|
|
|
fi |
|
|
|
|
done |
|
|
|
|
echo "php${PHP_VER} -- end" |
|
|
|
|
# PHP_VER=52 |
|
|
|
|
# echo "php${PHP_VER} -- start" |
|
|
|
|
# cmd_ext=$(ls -l $DIR/versions/$PHP_VER/ |awk '{print $9}') |
|
|
|
|
# cd $DIR && /bin/bash install.sh install $PHP_VER |
|
|
|
|
# for ii in $cmd_ext |
|
|
|
|
# do |
|
|
|
|
# if [ "install.sh" == "$ii" ];then |
|
|
|
|
# echo '' > /tmp/t.log |
|
|
|
|
# else |
|
|
|
|
# cd $DIR/versions/$PHP_VER && /bin/bash $ii install $PHP_VER |
|
|
|
|
# fi |
|
|
|
|
# done |
|
|
|
|
# echo "php${PHP_VER} -- end" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PHP_VER_LIST=(53 54 55 56 70 71 72 73 74 80 81) |
|
|
|
|