pull/144/head
midoks 3 years ago
parent 5dcb6275c2
commit 4cd2ce1746
  1. 4
      plugins/php/versions/common/gd_old.sh
  2. 4
      scripts/install/debian.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

@ -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

Loading…
Cancel
Save