News:

SMF - Just Installed!

Main Menu

How to enable the ImageMagick module in PHP

Started by mahesh, Oct 22, 2024, 08:19 AM

Previous topic - Next topic

mahesh

Question
  • How do I enable the ImageMagick module in PHP?


Answer
  • By default, the ImageMagick module is shipped with Plesk PHP starting from PHP 5.6.
In Plesk, go to Tools & Settings > PHP Settings > required PHP version, enable "Imagick" and click OK.

 

Additional Information
  • ImageMagick binaries are located inside /usr/bin.
To allow a website to use ImageMagick binaries, add /usr/bin to open_basedir of a domain at Domains > example.com > PHP Settings:

{WEBSPACEROOT}{/}{:}{TMP}{/}{:}/usr/bin