• Resolved Tolly

    (@blackmonk)


    My settings:
    Mode: Mozilla MozJpeg
    Default quality: 75
    Minimal benefit from lossy compression, percentage: 5
    Encoders location: Local
    Directory with MozJpeg encoder’s binaries: /opt/mozjpeg/bin

    terminal ssh:
    root@Web:/usr/local/src/mozjpeg/mozjpeg$tree /opt/mozjpeg/bin/
    /opt/mozjpeg/bin/
    ├── cjpeg
    ├── djpeg
    ├── jpegtran
    ├── rdjpgcom
    ├── tjbench
    └── wrjpgcom

    But if I use WebP, then there is no problem.
    Mode: Google WebP (duplicates generation
    Encoders location: Local
    Directory with cwepb: /usr/bin

    Batch optimization > Run batch optimization
    At the output I get:

    Attachments to optimize 26
    Done 0
    With error 26
    Status Complete

    I get:
    WPMJGUERROR: /usr/bin/cwebp -q 75 “/var/[..skip..]/www/wp-content/uploads/2018/12/123.jpg” -o “/var/[..skip..]/www/wp-content/uploads/2018/12/123.jpg.webp”

    root@Web:/usr/bin$ls -l /usr/bin/cwebp
    -rwxr-xr-x 1 root root 56296 jan 4 2017 /usr/bin/cwebp

    The site and server of the terminal are the same server.

    • This topic was modified 6 years, 2 months ago by Tolly.
    • This topic was modified 6 years, 2 months ago by Tolly.
Viewing 1 replies (of 1 total)
  • Thread Starter Tolly

    (@blackmonk)

    The question decided, the problem was that in php.ini it was necessary to allow “exec”.

Viewing 1 replies (of 1 total)
  • The topic ‘ERROR: There was an error during your last settings save.’ is closed to new replies.