• 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
How to compile PHP gd.so module with WebP support

Instruction How to compile PHP gd.so module with WebP support

Thank you!
Worked like a charm.

I was sceptical at first cause I made this on a production web server. but all turned out ok.
Works fine for PHP 7.1.
Great support by Igor!
Thank you so much IgorG, I just installed it on my server with PHP 7.3.0 !
Nice it's working on php 7.2
thanks IgorG
you're the best
Nice Work!
The instructions still work but I've found I you need to add/remove a module from the PHP version you've updated to get Plesk to rebuild the PHP settings for each host.
Tools & Settings > PHP settings then click on PHP 7.3.x and do the add then remove action.
For PHP 7.4, change the ./configure line to:
./configure --with-php-config=/opt/plesk/php/7.4/bin/php-config --with-webp --with-freetype --with-jpeg --with-xpm

It appears that you no longer need to specify the directories, or --with-png options anymore.
This works !
Many thanks from the AmaZili team for the primary post and for the comment on php 7.4
It works in 2023,
Used it for php7.0
nice work
What about automatic Updates of PHP after that ?
Can you please provide an apt-get version of these instructions? I do not have yum.
Very great! thanks a lot, we have install it with php 7.3 and all work fine. But still having an big problem, incluse deleting gd rpm, with php updating, gd are automatically reinstalled! Plesk team, please, do something to don't break every time the configuration of webp!!!!
Instructions outdated and Plesk still does not support WebP
Back
Top