Plesk for Linux
kb: technical
ABT: Group A
Applicable to:
- Plesk for Linux
Symptoms
-
In an attempt to run the cronjob on a Plesk server, the message below is shown:
CONFIG_TEXT: PHP Warning: Version warning: Imagick was compiled against Image Magick version 1690 but version 1691 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
- The same error message can be found in the domain log files.
Cause
The ImageMagick
package is installed from the remi
repository.
Resolution
- Log into the server via SSH.
- Execute the command below to find the installed
ImageMagick
packages:
# rpm -qa | grep ImageMagick
ImageMagick-libs-6.9.11.23-1.el7.remi.x86_64
ImageMagick-6.9.11.23-1.el7.remi.x86_64 - Remove the found
ImageMagick
packages from the step №2 by executing the commands below one by one:
# rpm -e --nodeps ImageMagick-libs-6.9.11.23-1.el7.remi.x86_64
# rpm -e --nodeps ImageMagick-6.9.11.23-1.el7.remi.x86_64
- Using the vi text editor open the
/etc/yum.repos.d/remi.repo
file. - Add the line below at the end of the
[remi]
section and save the changes to exclude installation ofImageMagick
packages from theremi
repository:
CONFIG_TEXT: exclude=ImageMagick
- Run the command below to install the
ImageMagick
package back:
# yum install ImageMagick
Comments
2 comments
I have the same issue after updating ImageMagick with yum update ImageMagick (not remi repo)
Hello, ImageMagick should be from default OS repository, if you still have the same issue means likely ImageMagick installed from custom repository. Make sure the one you have installed from "base" repository:
Repo : installed
Repo : base/7/x86_64
Please sign in to leave a comment.