diff --git a/plugins/php/versions/common/gd_old.sh b/plugins/php/versions/common/gd_old.sh index 1f1c35682..40a13fcd8 100755 --- a/plugins/php/versions/common/gd_old.sh +++ b/plugins/php/versions/common/gd_old.sh @@ -55,7 +55,7 @@ Install_lib() return fi - # cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash freetype_old.sh + cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash freetype_old.sh if [ ! -f "$extFile" ];then @@ -73,7 +73,7 @@ Install_lib() ./configure --with-php-config=$serverPath/php/$version/bin/php-config \ --with-gd \ --with-jpeg-dir \ - --with-freetype-dir \ + --with-freetype-dir=${serverPath}/lib/freetype_old \ --enable-gd-jis-conv \ --enable-gd-native-ttf make clean && make && make install && make clean diff --git a/scripts/install/debian.sh b/scripts/install/debian.sh index 8dc30a92f..541cd04ee 100644 --- a/scripts/install/debian.sh +++ b/scripts/install/debian.sh @@ -105,6 +105,10 @@ rm -rf ${Install_TmpFile} echo -e "\e[0;32mfix libunwind-dev install question end\e[0m" +apt install -y libvpx-dev +apt install -y libxpm-dev +apt install -y libwebp-dev +apt install -y libfreetype6-dev cd /www/server/mdserver-web/scripts && bash lib.sh chmod 755 /www/server/mdserver-web/data