Jan 5, 2021
7
2
3
Pittsburgh
cPanel Access Level
Website Owner
Hi my name is Rich,

I am an artist who maintains his website but has come across a problem which I cannot fix (any help is most welcome).
I searched the cPanel forum and could not find the answer. My computer has a Windows OS.

The galleries section on my website will not load and I have an error_log (in the galleries section) which states:

"PHP Warning: Version warning: Imagick was compiled against Image Magick version 1654 but
version 1650 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0"

I have a shared website and contacted Hostgater who loaded a php.ini file in my galleries section.
The customer rep stated I would have to update Image Magick in this file.

I opened the php.ini file with Dreamweaver and it stated, 'To make changes to this file, use the
cPanel MultiPHP INI Editor'.

I opened 'the cPanel MultiPHP INI Editor' and am looking at the file. I read through the 1625 lines of
the php.ini file and the only mention of Imagick is on line 1. imagick.skip_version_check=true, line 8
imagick.skip_version_check=true and line 1624. imagick.skip_version_check=true.

So what code/line needs to be added/changed in the php.ini file to update Image Magick to version 1654?

Thanks,

Rich
 
Last edited by a moderator:

Pol33li

Member
Jan 26, 2021
15
3
3
New Mexico
cPanel Access Level
Root Administrator
The error is most likely due to having multiple versions of imagick. If you uncommented
imagick.skip_version_check=true
, the error should go away (you might need to restart PHP-FPM for the change to apply).

If you need a newer version, Hostgator might need to update it for you.
 
Jan 5, 2021
7
2
3
Pittsburgh
cPanel Access Level
Website Owner
The error is most likely due to having multiple versions of imagick. If you uncommented , the error should go away (you might need to restart PHP-FPM for the change to apply).

If you need a newer version, Hostgator might need to update it for you.
Thanks for your reply. There are 3 'imagick.skip_version_check=true' but only 1, line 7
PHP:
 line 8 imagick.skip_version_check=true is different...because it is preceded by PHP...
Is this the one to uncomment?
Plus Hostgater updated PHP to the most recent version. See the attached file.
 

Attachments

Last edited:
Jan 5, 2021
7
2
3
Pittsburgh
cPanel Access Level
Website Owner
Hey there! With only website and cPanel access I don't believe you'll be able to get that resolved, so reaching out to your hosting provider to have them check the PHP settings would be the best way to get that fixed.
Thanks for your reply. The Hostgater rep updated PHP to the most recent version (see the attached image). By referring to 'PHP settings', is this what your are referring to?
 

Attachments

Pol33li

Member
Jan 26, 2021
15
3
3
New Mexico
cPanel Access Level
Root Administrator
How old is your site? PHP has evolved a lot since the 5.X series and you may be hitting some issues with the 7.X series updates as it is being pushed for security reasons, etc.

If the error is just regarding the version mismatch, but still functions ("Imagick will run but may behave surprisingly"), you're probably okay with just hiding that warning via the .ini edit.
 
Jan 5, 2021
7
2
3
Pittsburgh
cPanel Access Level
Website Owner
How old is your site? PHP has evolved a lot since the 5.X series and you may be hitting some issues with the 7.X series updates as it is being pushed for security reasons, etc.

If the error is just regarding the version mismatch, but still functions ("Imagick will run but may behave surprisingly"), you're probably okay with just hiding that warning via the .ini edit.
Q: 'How old is your site?' A: The website is about 13 years old. Q: 'If the error is just regarding the version mismatch, but still functions...' A: My website galleries section is not loading so I cannot proplely display my paintings online (which is the whole point of having the site). The gallery icon spins then quits...I tried to upload a 1.76 megabyte .gif but it was too large for this site. I am starting to think I may need to find a web designer/coder to fix the problem because I seem to be going nowhere with this.
 

Attachments

Jan 5, 2021
7
2
3
Pittsburgh
cPanel Access Level
Website Owner
Hi my name is Rich,

I am an artist who maintains his website but has come across a problem which I cannot fix (any help is most welcome).
I searched the cPanel forum and could not find the answer. My computer has a Windows OS.

The galleries section on my website will not load and I have an error_log (in the galleries section) which states:

"PHP Warning: Version warning: Imagick was compiled against Image Magick version 1654 but
version 1650 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0"

I have a shared website and contacted Hostgater who loaded a php.ini file in my galleries section.
The customer rep stated I would have to update Image Magick in this file.

I opened the php.ini file with Dreamweaver and it stated, 'To make changes to this file, use the
cPanel MultiPHP INI Editor'.

I opened 'the cPanel MultiPHP INI Editor' and am looking at the file. I read through the 1625 lines of
the php.ini file and the only mention of Imagick is on line 1. imagick.skip_version_check=true, line 8
imagick.skip_version_check=true and line 1624. imagick.skip_version_check=true.

So what code/line needs to be added/changed in the php.ini file to update Image Magick to version 1654?

Thanks,

Rich
 

Attachments

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,491
1,008
313
cPanel Access Level
Root Administrator
If the site was designed 13 years ago, that alone would almost guarantee it's not going to work well with a modern PHP solution. It would be best to work with a web designer to get that issue resolved and get the site updated, or you could consider moving to a new platform completely such as Wordpress.
 
Jan 5, 2021
7
2
3
Pittsburgh
cPanel Access Level
Website Owner
If the site was designed 13 years ago, that alone would almost guarantee it's not going to work well with a modern PHP solution. It would be best to work with a web designer to get that issue resolved and get the site updated, or you could consider moving to a new platform completely such as Wordpress.
Thanks for your reply. From looking for solutions I think you hit the proverbial nail right on the head.
 
  • Like
Reactions: cPRex
Jan 5, 2021
7
2
3
Pittsburgh
cPanel Access Level
Website Owner
On Feb 2nd I decided to redo my website and it is done! The technical problem was a blessing in disguise because my new site it better than the old one. For those of you who answered my query, many thanks!
 
  • Like
Reactions: cPRex