diff --git a/plugins/php/versions/common/gd_old.sh b/plugins/php/versions/common/gd_old.sh index 14b60d3f3..002d26eeb 100755 --- a/plugins/php/versions/common/gd_old.sh +++ b/plugins/php/versions/common/gd_old.sh @@ -80,6 +80,7 @@ Install_lib() $OPTIONS \ --with-gd \ --with-jpeg-dir \ + --with-webp-dir \ --with-freetype-dir=${serverPath}/lib/freetype_old # --enable-gd-jis-conv # --enable-gd-native-ttf diff --git a/scripts/install/centos.sh b/scripts/install/centos.sh index eeb453b79..f8f680be4 100755 --- a/scripts/install/centos.sh +++ b/scripts/install/centos.sh @@ -117,8 +117,8 @@ yum install -y libevent libevent-devel unzip zip yum install -y libicu-devel bzip2-devel pcre pcre-devel yum install -y gd gd-devel +yum install -y libwebp-tools yum install -y libjpeg-devel libpng-devel libwebp libwebp-devel - yum install -y net-tools yum install -y ncurses-devel yum install -y libXpm-devel