Image magick not found

Linux CentOS 6.7 VPS on inMotionHosting.

Running GPM, get:

Whoops\Exception\ErrorException: PHP Startup: Unable to load dynamic library ‘/usr/local/lib/php/extensions/no-debug-non-zts-20121212/’ - cannot open shared object file: No such file or directory in file Unknown on line 0

How to fix?


Well, this is just an error with your CLI version of PHP on your hosting provider. It’s not a Grav requirement at all. You will need to contact your provider because it will probably do this with any CLI PHP script. They need to remove the reference to this library from the default php.ini.