Skip to content

webp for gd don't work in 7.4 anymore #920

@Nimrod-666

Description

@Nimrod-666

Hi, i have the issue that gd is not installed with webp support anymore in 7.4-apache-buster. It worked fine in 7.3-apache-buster.

I've read here that i have to change my "docker-php-ext-configure" command from:
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-webp-dir=/usr --with-jpeg-dir=/usr;
to:
docker-php-ext-configure gd --with-freetype --with-png --with-webp --with-jpeg;

But even after changing that it still don't works and gd_info() gives me that output:

array (size=12) 'GD Version' => string 'bundled (2.1.0 compatible)' (length=26) 'FreeType Support' => boolean false 'GIF Read Support' => boolean true 'GIF Create Support' => boolean true 'JPEG Support' => boolean false 'PNG Support' => boolean true 'WBMP Support' => boolean true 'XPM Support' => boolean false 'XBM Support' => boolean true 'WebP Support' => boolean false 'BMP Support' => boolean true 'JIS-mapped Japanese Font Support' => boolean false

So i get serveral "Uncaught Error: Call to undefined function imagewebp()" errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUsability question, not directly related to an error with the image

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions