How to fix php image extension error

Avatar
  • Answered
I get this error in my error_log since last few days:
"Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/imagick.so".
the problem is, I found the mentioned file in it's folder, why apache cant load it?

I cant find any solution to this error.
Avatar
johnpaulb-imhs1
Hello, Thank you for contacting us about an "Unable to load dynamic library" error. I found a helpful post via Google search, where they suggest "imagick... might have a problem loading in PHP 5.3.. in this case, revert to PHP 5.2.8 and imagick-2.2.0 will work just fine." As a test, you can try using the PHP switcher tool in cPanel. Let us know if you have any further questions. Thank you, John-Paul