2

I am using Apptrian Image Optimizer. The extension for Magento1. I have given all the necessary permission to the files which are responsible for optimizing. Still, I am getting the following error when turn on the error logs:-

DEBUG (7): optipng is not executable.

Please let me know if I have to install the utilities on the server as well. Or is there any way out to get this done, by not using the exe files

P.S:- I have also checked the files and they are not corrupted

3

Check if the optipng binary is available:

which optipng

If it was found, make sure it has the correct access permissions:

chmod +x PATH_FROM_optipng

  • The extension provides a lib folder which has an exe and a text file which I assume will be the bin file you are referring to. – dev_67Commerce Nov 22 '17 at 10:08
  • If you are running Magento on a Linux Server, you won't be able to run an .exe file. – David Lambauer Nov 22 '17 at 10:08
  • The optipng is a common tool, also available for linux. # – David Lambauer Nov 22 '17 at 10:09
  • If you are running Magento on a Linux Server, you won't be able to run an .exe file >> Let me check both. Thanks – dev_67Commerce Nov 22 '17 at 10:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.