• Hi, I have used this plugin before on Siteground without any issues but ran into issues that cannot be resolved on a shared hosting server.

    cwebp and ImageMagick are not enabled in the plugin

    This message is from the hosting server support.

    The following shows the enabled modules and you can see GD, Imagick are both enabled and available: https://www.sweetstreetmalvern.co.uk/phpinfo.php
    However when checking the tool provided and it is showing that these are not enabled: https://www.sweetstreetmalvern.co.uk/webpinfo.php
    Is there any support available from the plugin providers who might have an idea about whats causing this?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @pantsman28,

    I am not related to this plugin, but I use it often. I saw the URLs that you have shared and even though **GD** and **Imagick** are available, they can’t be used because they are **”compiled without WebP support”** – which means that they can’t convert images to webp.

    And cwebp is not working because **”exec() is not enabled”** – which means it is not possible to execute cwebp binary.

    Thread Starter pantsman28

    (@pantsman28)

    Thanks for the reply, Actually trying to get the hosting company to acknowledge that the cwebp is not enabled. How would you go about doing this?

    Thread Starter pantsman28

    (@pantsman28)

    The hosting service said they won’t enable this as its a security issue.

    Found the below code at
    But no mention as to where it gos? .htaccess file?

    # WebP Express rules
    # ——————–
    location ~* ^/?wp-content/.*.(png|jpe?g)$ {
    add_header Vary Accept;
    expires 365d;
    if ($http_accept !~* “webp”){
    break;
    }
    try_files
    /wp-content/webp-express/webp-images/doc-root/$uri.webp
    $uri.webp
    /wp-content/plugins/webp-express/wod/webp-on-demand.php?xsource=x$request_filename&wp-content=wp-content
    ;
    }# Route requests for non-existing webps to the converter
    location ~* ^/?wp-content/.*.(png|jpe?g).webp$ {
    try_files
    $uri
    /wp-content/plugins/webp-express/wod/webp-realizer.php?xdestination=x$request_filename&wp-content=wp-content
    ;
    }
    # ——————- (WebP Express rules ends here)

    How would you go about doing this?

    Usually I switch to a different plugin if there are no options available, usually EWWW Image Optimizer.

    The hosting service said they won’t enable this as its a security issue.

    Yes, a lot of hosting providers disable exec() because it could be used to executing any other binaries as well.

    But no mention as to where it gos? .htaccess file?

    These are nginx rules so these should go in nginx config file, not htaccess. But since you don’t have any available converter options, adding these wouldn’t help anyway.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘cwebp and ImageMagick are not enabled in the plugin’ is closed to new replies.