Initial webp support in PHP

This commit is contained in:
Adam Štrauch 2021-03-18 21:43:06 +01:00
parent 5e446efd24
commit 52ec15f971
Signed by: cx
GPG Key ID: 018304FFA8988F8D
3 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@ python3 python3-pip python3-virtualenv \
libcurl4-openssl-dev python-dev libproj-dev gdal-bin libmemcached-dev swig mutt \ libcurl4-openssl-dev python-dev libproj-dev gdal-bin libmemcached-dev swig mutt \
ffmpeg libyaml-dev libc-client2007e-dev libonig-dev libkrb5-dev dialog \ ffmpeg libyaml-dev libc-client2007e-dev libonig-dev libkrb5-dev dialog \
whiptail tmux rsync nmap libzip-dev libfreetype6-dev \ whiptail tmux rsync nmap libzip-dev libfreetype6-dev \
jpegoptim optipng pngquant gifsicle webp # User requirement (svgo not available) jpegoptim optipng pngquant gifsicle webp libvpx-dev # User requirement (svgo not available)
WORKDIR /srv WORKDIR /srv

View File

@ -64,7 +64,8 @@ cd php-$VERSION
--with-sodium \ --with-sodium \
--with-kerberos \ --with-kerberos \
--with-soapclient \ --with-soapclient \
--with-pear --with-pear \
--enable-intl
make -j make -j
make install make install
@ -79,4 +80,3 @@ echo "no" | /opt/techs/php-$VERSION/bin/pecl install imagick
echo "zend_extension=opcache.so" > /opt/techs/php-$VERSION/etc/conf.d/extensions.ini echo "zend_extension=opcache.so" > /opt/techs/php-$VERSION/etc/conf.d/extensions.ini
echo "extension=redis.so" >> /opt/techs/php-$VERSION/etc/conf.d/extensions.ini echo "extension=redis.so" >> /opt/techs/php-$VERSION/etc/conf.d/extensions.ini
echo "extension=imagick.so" >> /opt/techs/php-$VERSION/etc/conf.d/extensions.ini

View File

@ -55,7 +55,8 @@ cd php-$VERSION
--with-imap-ssl \ --with-imap-ssl \
--with-sodium \ --with-sodium \
--with-kerberos \ --with-kerberos \
--with-pear --with-pear \
--enable-intl
make -j make -j
make install make install
@ -68,7 +69,6 @@ cd -
echo "no" | /opt/techs/php-$VERSION/bin/pecl install redis echo "no" | /opt/techs/php-$VERSION/bin/pecl install redis
echo "zend_extension=opcache.so" > /opt/techs/php-$VERSION/etc/conf.d/extensions.ini echo "zend_extension=opcache.so" > /opt/techs/php-$VERSION/etc/conf.d/extensions.ini
echo "extension=redis.so" >> /opt/techs/php-$VERSION/etc/conf.d/extensions.ini echo "extension=redis.so" >> /opt/techs/php-$VERSION/etc/conf.d/extensions.ini
# Not supported yet # Not supported yet