Install imagick on mac

I need to install imagick extension for php. I have already installed Image Magick. Then I did "sudo pecl install imagick". After that I had this output in the console:

Installation '/usr/include/php/ext/imagick/php_imagick.h'
Installation '/usr/include/php/ext/imagick/php_imagick_defs.h'
Installation '/usr/include/php/ext/imagick/php_imagick_shared.h '
Installation' /usr/lib/php/extensions/no-debug-non-zts-20090626/imagick.so '

but since I use XAMPP, my internal dir (as I understand it) is / Applications / XAMPP / xamppfiles / lib / php / php -5.3.1 / extensions / no-debug-non-zts-20090626. So what I have to do for this to work, I tried to put the .so file in the dir extension and add the extension file = imagick.so in php.ini and restart apache, unfortunately this did not work. Forgot to mention, I use osX and XAMPP

+7
source share
1 answer

You have installed ImageMagick, which is required to use imagick: ImageMagick for MacOSx

0
source

All Articles