• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question imagick php with webp support

python

Regular Pleskian
Hi, I need to create webp image formats from php, I currently use ImageMagick 6.7.8-9 2016-06-16 Q16 with its imaginick extension for php, but it does not support webp.

I need help to be able to update to the latest version of imagickMagick with support for webp with its imaginick extension for php.

can someone help me, I use php 7.2.10 would be for a centos 7.

regards
 
I've done this before and its not exactly easy. First you need to build dummy imagick rpms for every version of plesk's PHP (E.g. plesk-php70-imagick-7.0.99-noop.x86_64) with a .99 version so that plesk won't install their own versions on every upgrade. Then you need to use rpmbuild to build the latest ImageMagick patching it first for WebP (libwebp) support.

See for an example. This works with the latest verison:
ImageMagick 6.7.8 with WebP (libwebp) support on CentOS 7

Expect to spend at least an hour or two to get this all working.
 
Back
Top