Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Enable Webp support for PHP7.0 using EasyApache 4

Discussion in 'EasyApache' started by Amro Abu-Hmaidan, Feb 25, 2018.

  1. Amro Abu-Hmaidan

    Amro Abu-Hmaidan Registered

    Joined:
    Feb 25, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Arab Emirates
    cPanel Access Level:
    Root Administrator
    I'm not an expert admin, and I'm actually a developer.

    I have php7.0 with gd enabled, and I want to be able to call imagewebp() function in php, but it says that the version of php gd is not compiled with webp, I tried many ways to do that through WHM or even command line to no avail, can you please help guide me recompile the current version of php used by the server with all its current configuration and just adding only '--with-webp-dir=/usr'.

    Any help is highly appreciated,
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,182
    Likes Received:
    1,756
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Can you verify which operating system is installed on this server? WebP support for PHP version 7 requires libwebp, which is only available on CentOS 7.

    Thank you.
     
Loading...

Share This Page