To install imagemagick/imagick on your linux within xampp installation you need to follow these steps
cd /opt/lampp/bin
sudo ./pecl install imagick
Learn Linux, Nginx, Apache, MongoDB, MySQL, PHP, Javascript, CSS
To install imagemagick/imagick on your linux within xampp installation you need to follow these steps
cd /opt/lampp/bin
sudo ./pecl install imagick
You have saved my day.
Just In case if it not work.. please try this before,
$ sudo apt-get install libmagickwand-dev libmagickcore-dev
$ cd /opt/lampp/bin
$ sudo ./pecl install imagick
and then add this line to php.ini which is located at /opt/lampp/etc
extension=imagick.so
after run that code i got this message : pecl/imagick is already installed and is the same as the released version 3.4.4 install failed
and i don’t see at phpinfo()