• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Imagick error on Centos 7 php 7

Tonies

New Pleskian
Hi,

I have this issue with imagick in the logs of my site after trying to upload an image: 500 error ar frontend when uploading an image.

mod_fcgid: stderr: PHP Fatal error: Uncaught Error: Class 'URL\\IN\\Controller\\Upload\\Imagick' not found in MY/SITE/:163, referer: https://mysite/Controller/Upload/Uploadimage.php/X/view/getiframe/product-id/9/json//

I checked PHPinfo and see imagick and ran this command /opt/plesk/php/7.0/bin/php -i | grep "imagick module version"
imagick module version => is 3.4.3.

I also added the directive in Addtional directives in Websites & Domains ---> PHP Settings as: extension=imagick.so

Restarted Apache but still the error persists when trying to upload a file in my site, can you advise how to troubleshoot and resolve, please?

2018-03-16_042035.png 2018-03-16_042100.png

Thanks very much in advance.
 
Last edited:
What is the output of command

# /opt/plesk/php/7.0/bin/php -m | grep imag

?
 
Hi IgorG.

Thank for the reply.

Running the command: # /opt/plesk/php/7.0/bin/php -m | grep imag

Returns: # imagick
 
To note, there was an error after checking in httpd log: PHP Warning: Module 'imagick' already loaded in Unknown on line 0

So I removed the previously added directive in Addtional directives in Websites & Domains ---> PHP Settings as: extension=imagick.so

I am assuming now that it is already loaded so why would I be getting the error above?

On a side note, can you please let me know if Apache automatically restarts/reloads when the "Apply" button is clicked once a change in made in the directives?

Thanks for anyone that can direct me on the two queries above.
 
Solved: After a few hours of digging, it ended up a module was missing a "\"in a PHP file when it was calling imagick.
 
Back
Top