This commit is contained in:
midoks 2022-06-28 22:48:29 +08:00
parent 3f4a120170
commit 036ebb33ef
3 changed files with 9 additions and 6 deletions

View File

@ -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!'
}

View File

@ -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!'
}

View File

@ -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!'
}