Last update at :2024-05-19,Edit by888u
yum install libwebp libwebp-devel
wget
tar zjf ImageMagick-6.9.1-10.tar.xz
cd ImageMagick-6.9.1-10
./configure --prefix=/usr/local/imagemagick --with-webp
make && make install
After installation, test whether WEBP is supported
#/usr/local/imagemagick/bin/convert -list format | grep WEBP
WEBP* rw- WebP Image Format found support
wget http://pecl.php.net/get/imagick-3.4.3.tgz
tar -zxf imagick-3.4.3.tgz
cd imagick-3.4.3
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config --with-imagick=/usr/local/imagemagick
make && make install
Add extension=imagick.so to php.ini and restart PHP testing
Recommended site search: Wanwang registered domain name query, IP detailed address legendary server rental, Hong Kong vps host, free cloud server, US unlimited content host, European server, best US server, telecom server rental, godaddy space,
All copyrights belong to 888u unless special state
发表评论