• Resolved aandey

    (@aandey)


    Hi,

    I tried using your method but it’s not working, I copy the optipng from file ewww-image-optimizer plugin folder into the wp-content/ewww/ and remove the OS ‘tag’ (like -linux or -fbsd), but it’s still showing missing, any step I’m missing?

    I’ve 2 questions

    1) how I find the appropriate binaries? I’m using wordpress, but the files available are -Mac, -sol, Linux and fsbd. I tried using the Linux and it’s not working, am I using the wrong type? It’s not a standard file for wordpress?

    2) do I still have to copy the .exe files into the wp-content/ewww folder?

    Many thanks in advance.

    https://www.ads-software.com/plugins/ewww-image-optimizer/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter aandey

    (@aandey)

    Btw, I’m using the latest version of wordpress 3.9.2

    Plugin Author nosilver4u

    (@nosilver4u)

    There should be no need to copy those files, unless you don’t have permissions set properly on the wp-content folder. If you don’t know what operating system you are on, check with your webhost. Before I can help you any further, you’ll need to follow these instructions:

    https://www.ads-software.com/support/topic/important-read-before-posting-1?replies=3

    Thread Starter aandey

    (@aandey)

    Hi, I’ve set the written permission ok to wp-content and ewww but it’s still not working, I’ve copy the debugging code here for you to see, thanks.

    Debug Log

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    EWWW IO version: 200.0
    WP version: 3.9.2
    ewww_image_optimizer_admin_init()
    ewww_image_optimizer_init()
    ewww_image_optimizer_cloud_init()
    ewww_image_optimizer_exec_init()
    ewww_image_optimizer_install_tools()
    Checking/Installing tools in /hermes/bosnaweb02a/b534/wp-content/ewww/
    wp-content/ewww permissions: 0777
    ewww_image_optimizer_install_paths()
    CPU architecture: x86_64
    generated paths:
    /hermes/bosnaweb02a/b534/wp-content/plugins/ewww-image-optimizer/jpegtran-linux64
    /hermes/bosnaweb02a/b534/wp-content/plugins/ewww-image-optimizer/optipng-linux
    /hermes/bosnaweb02a/b534/wp-content/plugins/ewww-image-optimizer/gifsicle-linux
    /hermes/bosnaweb02a/b534/wp-content/plugins/ewww-image-optimizer/pngquant-linux
    /hermes/bosnaweb02a/b534/wp-content/plugins/ewww-image-optimizer/cwebp-linux864
    /hermes/bosnaweb02a/b534/wp-content/ewww/jpegtran
    /hermes/bosnaweb02a/b534/wp-content/ewww/optipng
    /hermes/bosnaweb02a/b534/wp-content/ewww/gifsicle
    /hermes/bosnaweb02a/b534/wp-content/ewww/pngquant
    /hermes/bosnaweb02a/b534/wp-content/ewww/cwebp
    64-bit linux detected while installing tools
    ewww_image_optimizer_md5check()
    /hermes/bosnaweb02a/b534/wp-content/ewww/jpegtran-custom: 8e4a09bb04ba001f5f16651ae8594f7f
    ewww_image_optimizer_md5check()
    /hermes/bosnaweb02a/b534/wp-content/ewww/cwebp-custom: eb3a5b6eae54140269ed6dcf6f792d37
    Linux/UNIX style OS, checking permissions
    jpegtran permissions: 0755
    gifsicle permissions: 0755
    optipng permissions: 0755
    pngquant permissions: 0755
    webp permissions: 0755
    ewww_image_optimizer_settings_script()
    images to check for savings: 117
    ewww_image_optimizer_notice_utils()
    ewww_image_optimizer_exec_check()
    disable_functions =
    suhosin_blacklist =
    ewww_image_optimizer_safemode_check()
    safe_mode =
    ewww_image_optimizer_path_check()
    found /hermes/bosnaweb02a/b534/wp-content/ewww/jpegtran, testing...
    ewww_image_optimizer_md5check()
    /hermes/bosnaweb02a/b534/wp-content/ewww/jpegtran: 47c39feae0712f2996c61e5ae639b706
    ewww_image_optimizer_mimetype()
    testing mimetype: /hermes/bosnaweb02a/b534/wp-content/ewww/jpegtran
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    testing case: j at /hermes/bosnaweb02a/b534/wp-content/ewww/jpegtran
    /hermes/bosnaweb02a/b534/wp-content/ewww/jpegtran: sh: 1: /hermes/bosnaweb02a/b534/wp-content/ewww/jpegtran: Permission denied
    tool not found
    found /hermes/bosnaweb02a/b534/wp-content/ewww/jpegtran-custom, testing...
    ewww_image_optimizer_mimetype()
    testing mimetype: /hermes/bosnaweb02a/b534/wp-content/ewww/jpegtran-custom
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    testing case: j at /hermes/bosnaweb02a/b534/wp-content/ewww/jpegtran-custom
    /hermes/bosnaweb02a/b534/wp-content/ewww/jpegtran-custom: sh: 1: /hermes/bosnaweb02a/b534/wp-content/ewww/jpegtran-custom: Permission denied
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: j at jpegtran
    jpegtran: libjpeg-turbo version 1.2.0 (build 20140618)
    optimizer found
    found /hermes/bosnaweb02a/b534/wp-content/ewww/optipng, testing...
    ewww_image_optimizer_md5check()
    /hermes/bosnaweb02a/b534/wp-content/ewww/optipng: 31698da4f5ca00b35e910c77acae65bb
    ewww_image_optimizer_mimetype()
    testing mimetype: /hermes/bosnaweb02a/b534/wp-content/ewww/optipng
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    testing case: o at /hermes/bosnaweb02a/b534/wp-content/ewww/optipng
    /hermes/bosnaweb02a/b534/wp-content/ewww/optipng: sh: 1: /hermes/bosnaweb02a/b534/wp-content/ewww/optipng: Permission denied
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: o at optipng
    optipng: sh: 1: optipng: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: o at /usr/bin/optipng
    /usr/bin/optipng: sh: 1: /usr/bin/optipng: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: o at /usr/local/bin/optipng
    /usr/local/bin/optipng: sh: 1: /usr/local/bin/optipng: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: o at /usr/gnu/bin/optipng
    /usr/gnu/bin/optipng: sh: 1: /usr/gnu/bin/optipng: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: o at /usr/syno/bin/optipng
    /usr/syno/bin/optipng: sh: 1: /usr/syno/bin/optipng: not found
    tool not found
    found /hermes/bosnaweb02a/b534/wp-content/ewww/gifsicle, testing...
    ewww_image_optimizer_md5check()
    /hermes/bosnaweb02a/b534/wp-content/ewww/gifsicle: 58f42368e86a4910d101d37fee748409
    ewww_image_optimizer_mimetype()
    testing mimetype: /hermes/bosnaweb02a/b534/wp-content/ewww/gifsicle
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    testing case: g at /hermes/bosnaweb02a/b534/wp-content/ewww/gifsicle
    /hermes/bosnaweb02a/b534/wp-content/ewww/gifsicle: sh: 1: /hermes/bosnaweb02a/b534/wp-content/ewww/gifsicle: Permission denied
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: g at gifsicle
    gifsicle: sh: 1: gifsicle: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: g at /usr/bin/gifsicle
    /usr/bin/gifsicle: sh: 1: /usr/bin/gifsicle: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: g at /usr/local/bin/gifsicle
    /usr/local/bin/gifsicle: sh: 1: /usr/local/bin/gifsicle: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: g at /usr/gnu/bin/gifsicle
    /usr/gnu/bin/gifsicle: sh: 1: /usr/gnu/bin/gifsicle: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: g at /usr/syno/bin/gifsicle
    /usr/syno/bin/gifsicle: sh: 1: /usr/syno/bin/gifsicle: not found
    tool not found
    found /hermes/bosnaweb02a/b534/wp-content/ewww/pngout-static, testing...
    ewww_image_optimizer_md5check()
    /hermes/bosnaweb02a/b534/wp-content/ewww/pngout-static: 670a0924e9d042be2c60cd4f3ce1d975
    ewww_image_optimizer_mimetype()
    testing mimetype: /hermes/bosnaweb02a/b534/wp-content/ewww/pngout-static
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    testing case: p at /hermes/bosnaweb02a/b534/wp-content/ewww/pngout-static
    /hermes/bosnaweb02a/b534/wp-content/ewww/pngout-static: sh: 1: /hermes/bosnaweb02a/b534/wp-content/ewww/pngout-static: Permission denied
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at pngout
    pngout: sh: 1: pngout: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/bin/pngout
    /usr/bin/pngout: sh: 1: /usr/bin/pngout: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/local/bin/pngout
    /usr/local/bin/pngout: sh: 1: /usr/local/bin/pngout: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/gnu/bin/pngout
    /usr/gnu/bin/pngout: sh: 1: /usr/gnu/bin/pngout: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/syno/bin/pngout
    /usr/syno/bin/pngout: sh: 1: /usr/syno/bin/pngout: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at pngout-static
    pngout-static: sh: 1: pngout-static: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/bin/pngout-static
    /usr/bin/pngout-static: sh: 1: /usr/bin/pngout-static: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/local/bin/pngout-static
    /usr/local/bin/pngout-static: sh: 1: /usr/local/bin/pngout-static: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/gnu/bin/pngout-static
    /usr/gnu/bin/pngout-static: sh: 1: /usr/gnu/bin/pngout-static: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/syno/bin/pngout-static
    /usr/syno/bin/pngout-static: sh: 1: /usr/syno/bin/pngout-static: not found
    tool not found
    found /hermes/bosnaweb02a/b534/wp-content/ewww/pngquant, testing...
    ewww_image_optimizer_md5check()
    /hermes/bosnaweb02a/b534/wp-content/ewww/pngquant: 46bb066d676bf94cbfd78bdc0227e74e
    ewww_image_optimizer_mimetype()
    testing mimetype: /hermes/bosnaweb02a/b534/wp-content/ewww/pngquant
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    testing case: q at /hermes/bosnaweb02a/b534/wp-content/ewww/pngquant
    /hermes/bosnaweb02a/b534/wp-content/ewww/pngquant: sh: 1: /hermes/bosnaweb02a/b534/wp-content/ewww/pngquant: Permission denied
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: q at pngquant
    pngquant: sh: 1: pngquant: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: q at /usr/bin/pngquant
    /usr/bin/pngquant: sh: 1: /usr/bin/pngquant: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: q at /usr/local/bin/pngquant
    /usr/local/bin/pngquant: sh: 1: /usr/local/bin/pngquant: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: q at /usr/gnu/bin/pngquant
    /usr/gnu/bin/pngquant: sh: 1: /usr/gnu/bin/pngquant: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: q at /usr/syno/bin/pngquant
    /usr/syno/bin/pngquant: sh: 1: /usr/syno/bin/pngquant: not found
    tool not found
    found /hermes/bosnaweb02a/b534/wp-content/ewww/cwebp, testing...
    ewww_image_optimizer_md5check()
    /hermes/bosnaweb02a/b534/wp-content/ewww/cwebp: 9b6f13ce6ee5a028cbd2765e2d53a1d7
    ewww_image_optimizer_mimetype()
    testing mimetype: /hermes/bosnaweb02a/b534/wp-content/ewww/cwebp
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    testing case: w at /hermes/bosnaweb02a/b534/wp-content/ewww/cwebp
    /hermes/bosnaweb02a/b534/wp-content/ewww/cwebp: sh: 1: /hermes/bosnaweb02a/b534/wp-content/ewww/cwebp: Permission denied
    tool not found
    found /hermes/bosnaweb02a/b534/wp-content/ewww/cwebp-custom, testing...
    ewww_image_optimizer_mimetype()
    testing mimetype: /hermes/bosnaweb02a/b534/wp-content/ewww/cwebp-custom
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    testing case: w at /hermes/bosnaweb02a/b534/wp-content/ewww/cwebp-custom
    /hermes/bosnaweb02a/b534/wp-content/ewww/cwebp-custom: sh: 1: /hermes/bosnaweb02a/b534/wp-content/ewww/cwebp-custom: Permission denied
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: w at cwebp
    cwebp: sh: 1: cwebp: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: w at /usr/bin/cwebp
    /usr/bin/cwebp: sh: 1: /usr/bin/cwebp: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: w at /usr/local/bin/cwebp
    /usr/local/bin/cwebp: sh: 1: /usr/local/bin/cwebp: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: w at /usr/gnu/bin/cwebp
    /usr/gnu/bin/cwebp: sh: 1: /usr/gnu/bin/cwebp: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: w at /usr/syno/bin/cwebp
    /usr/syno/bin/cwebp: sh: 1: /usr/syno/bin/cwebp: not found
    tool not found
    using: jpegtran
    ewww_image_optimizer_options()
    ewww_image_optimizer_install_paths()
    CPU architecture: x86_64
    generated paths:
    /hermes/bosnaweb02a/b534/wp-content/plugins/ewww-image-optimizer/jpegtran-linux64
    /hermes/bosnaweb02a/b534/wp-content/plugins/ewww-image-optimizer/optipng-linux
    /hermes/bosnaweb02a/b534/wp-content/plugins/ewww-image-optimizer/gifsicle-linux
    /hermes/bosnaweb02a/b534/wp-content/plugins/ewww-image-optimizer/pngquant-linux
    /hermes/bosnaweb02a/b534/wp-content/plugins/ewww-image-optimizer/cwebp-linux864
    /hermes/bosnaweb02a/b534/wp-content/ewww/jpegtran
    /hermes/bosnaweb02a/b534/wp-content/ewww/optipng
    /hermes/bosnaweb02a/b534/wp-content/ewww/gifsicle
    /hermes/bosnaweb02a/b534/wp-content/ewww/pngquant
    /hermes/bosnaweb02a/b534/wp-content/ewww/cwebp
    ewww_image_optimizer_tool_found()
    testing case: j at jpegtran
    jpegtran: libjpeg-turbo version 1.2.0 (build 20140618)
    optimizer found
    ewww_image_optimizer_tool_found()
    testing case: o at
    : sh: 1: -v: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: g at
    : sh: 1: --version: not found
    tool not found
    ewww_image_optimizer_tool_found()
    testing case: p at
    tool not found
    ewww_image_optimizer_safemode_check()
    safe_mode =
    ewww_image_optimizer_exec_check()
    disable_functions =
    suhosin_blacklist =
    ewww_image_optimizer_gd_support()
    GD found, supports:
    GD Version: bundled (2.0.34 compatible)
    FreeType Support: 1
    FreeType Linkage: with freetype
    T1Lib Support:
    GIF Read Support: 1
    GIF Create Support: 1
    JPEG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XPM Support:
    XBM Support: 1
    JIS-mapped Japanese Font Support:
    ewww_image_optimizer_tool_found()
    testing case: i at convert
    convert: Version: ImageMagick 6.3.3 03/08/07 Q16 https://www.imagemagick.org
    imagemagick found
    ewww_image_optimizer_tool_found()
    testing case: n at nice
    nice: 0
    nice found
    ewww_image_optimizer_tool_found()
    testing case: t at tar
    tar: tar (GNU tar) 1.26
    tar found
    ewww_image_optimizer_jpg_background()
    ewww_image_optimizer_jpg_background()
    ewww_image_optimizer_jpg_quality()
    Plugin Author nosilver4u

    (@nosilver4u)

    Your server is using it’s own copy of jpegtran, because the bundled ones apparently aren’t compatible. That isn’t terribly surprising, linux has so many distributions, that it is impossible to compile a truly ‘universal’ binary. So, you have a couple options:

    1. Ask your webhost to install optipng and gifsicle
    2. Use the EWWW IO Cloud service to process GIFs & PNGs: https://www.exactlywww.com/cloud/
    3. If you can find out what particular flavor of linux your server is running, and what version, I may be able to come up with something that would be compatible with your server.

    Thread Starter aandey

    (@aandey)

    Ic, many thanks, I will check with my host 1st then.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Optipng and gifsicle missing’ is closed to new replies.