Search code examples
phplinuxcentosimagick

PHP Warning: PHP Startup: Unable to load dynamic library imagic.so


me and my server guys are stuck with this error, which is really annoying.

the system is sending me email for every 10 minutes

Cron <root@94> /usr/local/psa/admin/bin/php -c '/usr/local/psa/admin/conf/php.ini' -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/plesk-mobile/scripts/push_worker.php'


PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/sw-engine/imagick.so' - /usr/lib64/php/modules/sw-engine/imagick.so: undefined symbol: OnUpdateBool in Unknown on line 0

the imagick is working fine,

  1. re installed the imagic
  2. i have checked the php.ini file and imagick.so is there
  3. and the imagick.so file is there.
  4. changed the file permissions

so what do you think it might be causing this emails ?


Solution

  • (after 3 months -- I hope this helps somebody)
    I had PHP errors all of a sudden regarding "imagic.so" on my hostmonster site. My PHP was at
    "PHP 5.2 (Single php.ini)". I changed it to
    "PHP 5.4 (Single php.ini)" and the errors stopped.