Results 1 to 9 of 9

Thread: error: Unable to load dynamic library './magickwand.so'

  1. #1
    Join Date
    Feb 2011
    Posts
    1

    Default error: Unable to load dynamic library './magickwand.so'

    Commencing on Jan 16th, 2011 the following error started appearing in the log:

    [16-Jan-2011 13:17:04] PHP Warning: PHP Startup: Unable to load dynamic library './magickwand.so' - ./magickwand.so: cannot open shared object file: No such file or directory in Unknown on line 0

    I have no idea what magickwand.so is nor do any of the pages including php.ini refer to it. What changed and how do I fix this error?

  2. #2
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    4,951

    Default

    Was that in the main log or in a log that specifically references your site.

    The main log contains all the entries that can't be matched to a specific site and so entries there can belong to any domain on the server and may have nothing to do with your site - particularly if it references something you know nothing about.

  3. #3
    Join Date
    Aug 2007
    Posts
    188

    Default

    I've seen thousands of these messages which points to my site. I figured it's some vulnerability check someone is doing as it's always returned that error that No such file or directory in Unknown on line 0

  4. #4
    Join Date
    Sep 2007
    Posts
    13

    Default

    Same problem here. These messages started showing up in our php_errors.log file associated with our site about a week ago.
    I believe that the source of this problem is this file on my server box:

    /etc/php.d/magickwand.ini

    It is owned by root and nothing I had anything to do with. It is associated with ImageMagick. The admins probably updated that package on my box and something got misplaced or something. I wish it would get fixed because it is flooding our error log. I am on box335.

  5. #5
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    4,951

    Default

    Quote Originally Posted by xaust View Post
    The admins probably updated that package on my box and something got misplaced or something. I wish it would get fixed because it is flooding our error log.
    Perhaps they haven't noticed yet. You could try telling support.

  6. #6
    Join Date
    Sep 2007
    Posts
    13

    Default

    Ticket filed. I will keep you posted. Thanks!

  7. #7

    Default

    Either use the PHP Config link to install a new php.ini file or you can edit your current one and change the 'extension_dir' directive to look like this:

    Code:
    extension_dir = /usr/lib64/php/modules

  8. #8
    Join Date
    Sep 2007
    Posts
    13

    Default

    What Adam said.

    I got this response to my ticket and it fixed the problem for me:

    These errors are caused by a different configuration of PHP 5.2.16. When we upgraded, many things changed in the php.ini file configuration, including the automatic compilation of magickwand into PHP. This means it doesn't have to be called for and loaded in the php.ini file any longer. You will need to install a new php.ini file. Then, any changes you had previously made to the php.ini file, you will need to modify again. You can create a php.ini file in the cPanel using the PHP Config tool. Make sure you are using PHP5 (Single php.ini). Save the Changes. Mark the checkbox for Ioncube. Click on "INSTALL PHP.INI MASTER FILE". This creates a file in public_html named php.ini.default. You will need to rename that file to php.ini . This file can be renamed using the File Manager inside cPanel.

  9. #9
    Join Date
    Mar 2011
    Posts
    1

    Default

    thanks xaust, that worked for me too.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •