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): def __init__(self):
pass 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 && 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 # 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=53
echo "php${PHP_VER} -- start" # PHP_VER=52
cmd_ext=$(ls -l $DIR/versions/$PHP_VER/ |awk '{print $9}') # echo "php${PHP_VER} -- start"
cd $DIR && /bin/bash install.sh install $PHP_VER # cmd_ext=$(ls -l $DIR/versions/$PHP_VER/ |awk '{print $9}')
for ii in $cmd_ext # cd $DIR && /bin/bash install.sh install $PHP_VER
do # for ii in $cmd_ext
if [ "install.sh" == "$ii" ];then # do
echo '' > /tmp/t.log # if [ "install.sh" == "$ii" ];then
else # echo '' > /tmp/t.log
cd $DIR/versions/$PHP_VER && /bin/bash $ii install $PHP_VER # else
fi # cd $DIR/versions/$PHP_VER && /bin/bash $ii install $PHP_VER
done # fi
echo "php${PHP_VER} -- end" # done
# echo "php${PHP_VER} -- end"
PHP_VER_LIST=(54 55 56 70 71 72 73 74 80 81)
PHP_VER_LIST=(53 54 55 56 70 71 72 73 74 80 81)
# PHP_VER_LIST=(81) # PHP_VER_LIST=(81)
for PHP_VER in ${PHP_VER_LIST[@]}; do for PHP_VER in ${PHP_VER_LIST[@]}; do
echo "php${PHP_VER} -- start" echo "php${PHP_VER} -- start"

Loading…
Cancel
Save