php扩展测试完毕

pull/118/head
midoks 3 years ago
parent 175846a5a8
commit d51ffca697
  1. 2
      class/core/config_api.py
  2. 37
      plugins/php/all_test.sh

@ -18,7 +18,7 @@ class config_api:
# 本版解决自启动问题
# 文件管理重命名
# 优化计划任务管理
__version = '0.8.6.1'
__version = '0.8.6.2'
def __init__(self):
pass

@ -5,25 +5,26 @@ DIR=$(cd "$(dirname "$0")"; pwd)
# cd /www/server/mdserver-web/plugins/php && bash all_test.sh
# cd /www/server/mdserver-web/plugins/php/versions/71/ && bash openssl.sh install 71
# cd /www/server/mdserver-web/plugins/php/versions/74/ && bash openssl.sh install 74
# cd /www/server/mdserver-web/plugins/php/versions/81/ && bash imagemagick.sh install 81
PHP_VER=53
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=(54 55 56 70 71 72 73 74 80 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_LIST=(53 54 55 56 70 71 72 73 74 80 81)
# PHP_VER_LIST=(81)
for PHP_VER in ${PHP_VER_LIST[@]}; do
echo "php${PHP_VER} -- start"

Loading…
Cancel
Save