Imagick Image Library is Not Found

Discussion in 'Apache' started by moh3en, Mar 4, 2010.

  1. #1
    Hello,

    What's this problem?

    The Imagick Image Library is Not Found

    I did try for install it on windows

    http://us.php.net/manual/en/imagick.installation.php

    Installing Imagick on Windows isn't too hard.  I followed the guide at http://valokuva.org/?page_id=50 and managed to install it without too much sweat.
    
    1. Visit http://imagemagick.org/script/binary-releases.php#windows and download "ImageMagick-6.5.4-6-Q16-windows-dll.exe"
    
    2. Pick a version at http://valokuva.org/outside-blog-content/imagick-windows-builds/ The directories are in YYMMDD format. The latest version that worked for me was 2008-Jul-09 so download 080709/php_imagick_dyn-Q16.dll respectively.
     
    3. Rename php_imagick_dyn-Q16.dll to "php_imagick.dll" and move it to php/ext
    
    4. open php.ini, and make sure
    extension=php_imagick.dll
    appears in the file and uncommented then resave.
    Note: phpinfo() will tell you the location of the loaded php.ini file.
    
    5. Re-start your webserver.
    
    That's it, a simple test will tell you if your installation was successful.
    <?php
    $im = new Imagick();
    $im->newPseudoImage(100, 100, "magick:rose");
    $im->setImageFormat("png");
    $im->roundCorners(5,3);
    $type=$im->getFormat();
    header("Content-type: $type");
    echo $im->getimageblob();
    ?>
    
    When i run this line for test.php for sure installation was successful... it got empty page!
    
    Code (markup):
    The Imagick Image Library is Not Found

    What's wrong?
     
    moh3en, Mar 4, 2010 IP
  2. ammyy

    ammyy Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    after a simple google search, i found a step by step guide here:
    http://r00tsecurity.org/forums/index.php?showtopic=18405
     
    ammyy, Mar 7, 2010 IP