Search code examples
phplinuximagickfat-free-framework

Fat Free: Unable to load dynamic library 'imagick.so'


Having this Fat Free error on my shared linux hosting. Checked all requirements and all seems okay.

Fatal error: 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.

My host says imagick is located in /usr/local/bin/convert. How do i correct this seeing i don't have access to the php.ini file? Please help


Solution

  • A quick fix i opted for now was to disable the check for startup error, though the error (server misconfiguration still happens) but the error is not shown anymore.

    error_reporting(0); $f3=require('lib/base.php');

    See https://github.com/bcosca/fatfree-core/pull/125