Skip to content

option to use executable instead of PHP-module of ImageMagick #65792

Description

@uwealtmann

Tip

Help move this idea forward

  • Use the 👍 reaction to show support for this feature.
  • Avoid commenting unless you have relevant information to add; unnecessary comments create noise for subscribers.
  • Subscribe to receive notifications about status changes and new comments.

Is your feature request related to a problem? Please describe.
In my setup, ImageMagick is not available as a PHP module in web hosting, but rather as an executable.
My hoster says: "The PHP extension, which is developed by a third party and is not an official part of PHP, is not available in web hosting for security reasons. The extension’s attack surface is too large. The developers themselves also advise against using it (see https://github.com/Imagick/imagick -> Security)."

Describe the solution you'd like
some option/input for the path to the executable so NC can take advantage of the executable instead throwing an error because of the missing php-module.

Describe alternatives you've considered
None

Additional context

Activity

  1. susnux commented on Oct 22, 2026

    @susnux
    Contributor

    I do not think we will implement this, using the binary would have the same security issues as using the PHP module.
    So there is no benefit of doing so.
    Instead we recommend to use the Imaginary preview provider which can run in a dedicated secured container.

  2. moved this from To triage to Triaged in 🧑‍🤝‍🧑 Community triageon Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapenhancement

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions