For Wordpress Image Optimisation: Warning: exec() has been disabled for security reas

Status
Not open for further replies.

cncm

New Member
Messages
2
Reaction score
0
Points
0
Getting this when trying to get a Wordpress Image Optimisation Plugin to work:

Warning: exec() has been disabled for security reasons

On further research, I gathered that I needed some sort of special permission.

Just wondering, how to do it in this case?

EDIT: On even further research, I found that you can't get exec() perms due to actual security reasons, so any suggestions on how to work around this?

Thanks,
 
Last edited:

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
Re: For Wordpress Image Optimisation: Warning: exec() has been disabled for security

You're pretty much left with optimizing your images before uploading. There are online tools available, like Kraken.io and Smush.it. If you are of a programming bent, you could even code up a solution to use one of the available third-party solutions (although you'd likely run into trouble trying to do more than the odd, smallish image--batch processing wouldn't work due to request sizes and script time limits).

If you need to run executables/binaries, you really need to be on a VPS rather than shared hosting. Almost all shared hosting, paid as well as free, is locked down pretty tightly so that users can't trample on one another. With a VPS, you're completely in charge of your own machine, but it's sandboxed away from other server instances on the physical host machine.
 
Status
Not open for further replies.
Top