Right method for DirectAdmin + CentOS 7.x + webp support

nservices

Verified User
Joined
Dec 11, 2008
Messages
293
Hello to the DA Community
we try to use WebP Express Plugin for Wordpress with DirectAdmin + CentOS 7 and have some issues:
1. for Gd extension, I see:
Required imagewebp() function is not available. It seems Gd has been compiled without webp support.

2. for Imagick extension, I see:
no decode delegate for this image format `/home/yehudabd/domains/bdy.co.il/public_html/wp-content/plugins/webp-express/test/small-q61.jpg' @ error/constitute.c/ReadImage/532

3. for Gmagick extension, I see:
Gmagick was compiled without WebP support.

4. for Imagick binary, I see:
webp delegate missing.

Imagick and Gmagick installed include the php extention and updated in the php.ini
I compiled php-fpm with
--with-vpx-dir=/usr/local \
--with-webp \

Any suggestions?
Capture-07032019-1.PNG

Regards,
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,347
Location
LT, EU
As of CB 2.0 rev. 2109 webp support is installed by default with PHP 7.x, you might just need to run "./build update; ./build php n".
 

Freddy

Verified User
Joined
Apr 14, 2016
Messages
41
This solution came on the exact moment that I needed it. I almost couldn't believe my eyes when I saw the post date. :D
I have rebuild PHP on CB 2109 and it works. My client reported back that the error message about webp has disappeared.
 
Top