From 036ebb33efa4387ef23c4c3c8ec4e030e8a9e9c9 Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 28 Jun 2022 22:48:29 +0800 Subject: [PATCH] up --- plugins/php/versions/74/gd.sh | 5 +++-- plugins/php/versions/80/gd.sh | 5 +++-- plugins/php/versions/81/gd.sh | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/plugins/php/versions/74/gd.sh b/plugins/php/versions/74/gd.sh index 5b407628e..b20f69ba2 100755 --- a/plugins/php/versions/74/gd.sh +++ b/plugins/php/versions/74/gd.sh @@ -49,9 +49,10 @@ Install_lib() --enable-gd \ --with-webp \ --with-xpm \ + --with-jpeg \ --with-freetype \ --enable-gd-jis-conv - + make clean && make && make install && make clean fi @@ -65,7 +66,7 @@ Install_lib() echo "[${LIBNAME}]" >> $serverPath/php/$version/etc/php.ini echo "extension=${LIBNAME}.so" >> $serverPath/php/$version/etc/php.ini - $serverPath/php/init.d/php$version reload + $serverPath/php/init.d/php${version} restart echo '===========================================================' echo 'successful!' } diff --git a/plugins/php/versions/80/gd.sh b/plugins/php/versions/80/gd.sh index 5b407628e..b20f69ba2 100755 --- a/plugins/php/versions/80/gd.sh +++ b/plugins/php/versions/80/gd.sh @@ -49,9 +49,10 @@ Install_lib() --enable-gd \ --with-webp \ --with-xpm \ + --with-jpeg \ --with-freetype \ --enable-gd-jis-conv - + make clean && make && make install && make clean fi @@ -65,7 +66,7 @@ Install_lib() echo "[${LIBNAME}]" >> $serverPath/php/$version/etc/php.ini echo "extension=${LIBNAME}.so" >> $serverPath/php/$version/etc/php.ini - $serverPath/php/init.d/php$version reload + $serverPath/php/init.d/php${version} restart echo '===========================================================' echo 'successful!' } diff --git a/plugins/php/versions/81/gd.sh b/plugins/php/versions/81/gd.sh index 5b407628e..b20f69ba2 100755 --- a/plugins/php/versions/81/gd.sh +++ b/plugins/php/versions/81/gd.sh @@ -49,9 +49,10 @@ Install_lib() --enable-gd \ --with-webp \ --with-xpm \ + --with-jpeg \ --with-freetype \ --enable-gd-jis-conv - + make clean && make && make install && make clean fi @@ -65,7 +66,7 @@ Install_lib() echo "[${LIBNAME}]" >> $serverPath/php/$version/etc/php.ini echo "extension=${LIBNAME}.so" >> $serverPath/php/$version/etc/php.ini - $serverPath/php/init.d/php$version reload + $serverPath/php/init.d/php${version} restart echo '===========================================================' echo 'successful!' }