All Pagely VPS hosting plans offer a bit more flexibility with a specialized image processing service called PressThumb that we can apply by request.
PressThumb is our specialized image optimizing service built into our technical stack (at no additional fee), designed to generate optimized images (like .webp format) on the fly. Bypassing the heavy processing up front that is generally required with serving images helps us save you storage and bandwidth costs.
What Alternative Options Exist?
We recommend using API or cloud-based plugins where all the image processing happens on remote servers, and doesn't require any local executables to be installed.
A couple of plugins using this approach are:
EWWW Image Optimizer
You may see the following error when trying to use the EWWW plugin:
EWWW Image Optimizer requires exec(). Your system administrator has disabled this function.
Why Is The Exec Function Disabled?
The exec() function in PHP allows your web server to directly execute other programs on the server. While this function may serve a legitimate use for some things, it's extremely risky.
The PHP exec() function is disabled on Pagely servers due to the extremely high risk of abuse. Even if you're using it for a legitimate purpose, an attacker could utilize this function in the event of a security hole inside a plugin or theme to cause quite a bit of damage.
To protect your site in the event that a plugin or theme that you're running becomes vulnerable to attack, disabling the exec() function limits the damage that can be done.
Can The Exec Function Be Enabled?
Due to the high risk that the exec() plugin poses to your site, we will not be able to enable it under any circumstances.