PHP Warning: PHP Startup: Unable to load dynamic library

Avatar
  • Answered
I've been trying to migrate a website over to my VPS Server but continue to have issues.
No problems on it's existing Server, but not working despite all my efforts on my InMotion VPS Server.

I am seeing the following error in my log file which I believe (?) is where the problem is:

PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/extensions/no-debug-non-zts-20100525/imagick.so' - libMagickWand.so.2:
cannot open shared object file: No such file or directory in Unknown on line 0

Looking at my PHPInfo.php I see the following:
extension_dir /usr/local/lib/php/extensions/no-debug-non-zts-20100525

So, the directory evidently exists, and therefore it is the file that is missing.
imagick.so' - libMagickWand.so.2

Doing some research, I see on a blog the following from someone from CPanel:

Note that this issue likely occurs because CentOS 6.7 with ImageMagick-devel-6.7.2.7-2
now supplies "libMagickWand.so.5.0.0". This can cause a PHP error if the optional "imagick" PECL plugin is installed.

HELP Please as I really need to reconsider my InMotion VPS if I can't get this website to work.
Seriously, I have a lot of Users with this website currently installed on a different Server with a different company that I want/need to get rid of. (the Server - but NEED the website)

I am a bit of a rookie when it comes to Server Admin, so I am at a total loss right now as to what to do.
Avatar
Scott
Hello, Sorry to hear about your Unable to load dynamic library' error. What is usually required is to have imagick uninstalled and reinstalled on your account. This can be done via our Live Support team. Just send a verified request and they can perform that so your error should disappear. Kindest Regards, Scott M