• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Support for WebP images in Imagick missing

Carbonzxc

New Pleskian
Hello,

How can i install/compile php7.4 or 8.0 with webp support for imagick? I already using php8 with imagick support like here


but i cant make .webp support for imagick. Centos 7 + Litespeed used on EC2 Machine. Trying to Upgrade my Woltlab forum to 5.4 version but i cant due to that problem.

Tried that one also: ImageMagick 6.7.8 with WebP (libwebp) support on CentOS 7

but it gives another error ;

[root@elegant-fermi x86_64]# rpm -Uvh --force /root/rpmbuild/RPMS/x86_64/ImageMagick-6.9.10.68-3.el7.x86_64.rpm
error: Failed dependencies:
ImageMagick = 6.9.10.68-5.el7_9 is needed by (installed) ImageMagick-devel-6.9.10.68-5.el7_9.x86_64
ImageMagick = 6.9.10.68-5.el7_9 is needed by (installed) ImageMagick-perl-6.9.10.68-5.el7_9.x86_64
[root@elegant-fermi x86_64]#Screenshot_1.png
 
./configure --enable-webp=yes

configure: WARNING: unrecognized options: --enable-webp

Also cant compile imagick again with .webp support so i need help please. Should i switch to centos 8 or ubuntu for that? Thanks !
 
How did you remove them?

yum remove ImageMagick

it removed with a few packages as well

Removing:
ImageMagick x86_64 6.9.10.68-5.el7_9 @updates 7.9 M
Removing for dependencies:
ImageMagick-devel x86_64 6.9.10.68-5.el7_9 @updates 498 k
ImageMagick-perl x86_64 6.9.10.68-5.el7_9 @updates 444 k
autotrace x86_64 0.31.1-38.el7 @base 341 k
autotrace-devel x86_64 0.31.1-38.el7 @base 40 k
plesk-php74-imagick x86_64 3.5.0-1centos.7.210702.1155 @PLESK_17_PHP74 412 k
plesk-php80-imagick x86_64 3.5.0-1centos.7.210702.1453 @PLESK_17_PHP80 416 k


later im installed plesk-php74-imagick and plesk-php80-imagick packages again for make sure its enabled on php side. and added ImageMagick to /etc/yum.conf exclude= line for to prevent update for some time.
 
I'm running Ubuntu. I've read that simply removing it on Ubuntu via the packet manger would not work, but I haven't tested it yet.
 
I'm running Ubuntu. I've read that simply removing it on Ubuntu via the packet manger would not work, but I haven't tested it yet.
They removed that verification anyway if you are using Woltlab too. But i spent few hours to make it work under centos7 + php 8.0 anyway for future maybe.

 
  • Like
Reactions: ciB
Ah thanks. But I would like to use Imagick anyway since I think it's better than GD.
 
Sorry to bring back up old thread. But any idea how to get this work with Ubuntu? I have the same problem as OP. Webp does not show up in php-info.

Tried apt remove plesk-php74-imagick and apt install plesk-php74-imagick. And webp is still not in support format list in php-info.
 
Back
Top