Enabling Webp Support on GD Library in Ubuntu 18.04 running on Litespeed Server

Posted May 3, 2020 2.4k views
PHPUbuntu 18.04

We have GD Library installed on DigitalOcean’s Litespeed server, however, it does not support WebP. I’d like to enable WebP support in GD Library.

1 comment
  • please check this wiki , it’s made for CentOS, but it should not have much difference for Ubuntu just replace the yum to apt , and maybe some package name

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Thanks @qtwrk - however, I bumped into an error while running these commands.

Here’s a screenshot: