• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Install ImageMagick 7.1.1

totheinfinity

New Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
18.0.59
Hey there,

I can install the latest ImageMagick and Imagick versions in my server,

Also, when I add the compiled Imagick.so file to the modules of the correct PHP version ( /opt/plesk/php/8.2/lib/php/modules/imagick.so ) and add it to the php.ini of the correct PHP version ( /opt/plesk/php/8.2/etc/php.ini ) file and restart the PHP FPM and Apache.

Then, when I create a phpinfo.php file, I see that the Imagick is still compiled with the older version of ImageMagick ( ImageMagick 6.9.11-60 Q16 x86_64 ) and is usning the older version.

So, my only problem is, how can I make the Imagick use the latest version of ImageMagick that I just installed instead of older one ( ImageMagick 6.9.11-60 ) and that is all I want to know.

I hope I made it clear enough.

I am just asking how to point the Imagick to use the latest version of ImageMagick.

I read this thread, - Resolved - Plesk with ImageMagick 7.X from OS on Ubuntu 20.04

But it is still not clear for me, can anyone please guide me here?
 
imagick modules are provided at plesk from the respective package eg plesk-php81-imagick plesk-php82-imagick etc
and seem pre-compiled with a 6.9.x version of imagemagick as 7 is not y default installed at ubuntu 22.04 (not installed as well at almalinux i use).
Also i noticed that imagick.so is usually compiled with an earlier 6.9 version than the one i have from OS.

If you installed ImageMagick 7 at your system and then yo ucompiled imagick, it will be with the 7.
I think the error you made is that you add it at /opt/plesk/php/8.2/etc/php.ini and not at /opt/plesk/php/8.2/etc/php.d/imagick.ini?

Better rename new one to something else, like imagick_new.so and add it as extension to imagick.ini
 
Back
Top