title: Install imagick on mac
body: <p>I need to install imagick extension for php. I have already installed Image Magick. Then I did "sudo pecl install imagick". After this I had such output in console:</p>
  
  <blockquote>
    <p>Installing '/usr/include/php/ext/imagick/php_imagick.h'<br>
    Installing
    '/usr/include/php/ext/imagick/php_imagick_defs.h'<br>
    Installing
    '/usr/include/php/ext/imagick/php_imagick_shared.h'<br>
    Installing
    '/usr/lib/php/extensions/no-debug-non-zts-20090626/imagick.so'</p>
  </blockquote>
  
  <p>but as I'm using XAMPP, my extension dir( as I understand ) is /Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626. So what should I do to make this working, I tried to put .so file in extensions dir and to add extension=imagick.so record in php.ini and to restart apache, unfortunately this didn't work. Forgot to mention, I'm using osX and XAMPP</p>