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!

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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice