Back to Community

Troubleshooting WP-Optimize WebP Conversion: 'No Tools Available' and Shell Function Errors

11 threads Sep 9, 2025

Content

Many users of the 'WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance' plugin encounter a frustrating message when trying to enable WebP conversion: "No WebP conversion tools are available on your web-server" or "Required WebP shell functions are not available on the server." This often happens even when the required PHP extensions like Imagick and GD are confirmed to be installed and active on the server.

Based on community reports and troubleshooting threads, this issue is almost never a bug in the plugin itself but a configuration or restriction on the hosting server. Here’s a breakdown of why it happens and the most common solutions to try.

Why This Error Occurs

The WebP conversion feature relies on more than just the Imagick or GD PHP extensions being present. It also requires specific PHP shell functions to be enabled and executable by the server. These functions allow the plugin to communicate with the image processing libraries. The most common culprits are hosting providers that disable these functions for security reasons, even if the extensions themselves are active.

Common Solutions to Try

1. Check for Disabled PHP Shell Functions

The primary cause is that crucial PHP functions are disabled in the server's php.ini configuration file. You or your hosting provider need to verify that the following functions are not listed in the disable_functions directive:

  • escapeshellarg
  • exec
  • shell_exec
  • passthru
  • system
  • proc_open

You can check this by creating a simple phpinfo(); file and searching for disable_functions. If any of the above functions are listed, you must contact your hosting support and request they be enabled.

2. Reset the WebP Serving Method

If the functions and extensions are confirmed to be enabled but the error persists, the plugin's detection mechanism may need a reset.

  1. Navigate to WP-Optimize > Images > WebP conversion.
  2. Click on "Show advanced options".
  3. Look for and click the "Reset WebP serving method" button.
  4. Save changes and check if the available conversion tools are now detected.

3. Verify Extension Functionality

Sometimes, an extension can be loaded but not functioning correctly. The 'WP-Optimize' team suggests ensuring that the Imagick module is compiled with WebP support. You can ask your host to confirm this. A properly configured GD library should also support WebP, especially on newer PHP versions (7.4+).

4. Understand the Role of reSmush.it

It's important to distinguish between conversion tools and compression services. The available tools (Imagick, GD) are used for converting images to the .webp format on your server. The reSmush.it API is a third-party online service that the plugin can use for compressing images. If on-server tools are available, the plugin should use them for conversion and avoid the online service for that specific task.

What to Do If Nothing Works

If you have confirmed with absolute certainty that all required extensions and shell functions are enabled and the issue remains, the next step is to provide detailed information for further troubleshooting. This should include:

  • Your WordPress version.
  • Your WP-Optimize plugin version.
  • Your PHP version (e.g., 8.2.17).
  • The output from Tools > Site Health > Info in your WordPress admin (you can share a redacted version).

This data can help identify if there is a rare compatibility issue with a specific server environment.

For most users, resolving the disable_functions conflict with their host is the key to unlocking the powerful WebP conversion feature in WP-Optimize.