We can install the imagick on the server by using the following command from the shell.
Login in to the server as root user and run the commands one by one and if you have any problem then let us know..
server@root[~]# cd /usr/local/src
server@root[/usr/local/src]#wget http://pecl.php.net/get/imagick-2.2.0.tgz
server@root[/usr/local/src]#tar -zxvf imagick-2.2.0.tgz
server@root[/usr/local/src]#cd imagick-2.2.0
server@root[/usr/local/src/imagick-2.2.0]#phpize
server@root[/usr/local/src/imagick-2.2.0]#./configure
server@root[/usr/local/src/imagick-2.2.0]#make
server@root[/usr/local/src/imagick-2.2.0]#make install
If you are installing the imagick on the Plesk server then refer to the following steps.
server@root[~]# cd /usr/local/src
server@root[/usr/local/src]#wget http://pecl.php.net/get/imagick-2.2.0.tgz
server@root[/usr/local/src]#tar -zxvf imagick-2.2.0.tgz
server@root[/usr/local/src]#cd imagick-2.2.0
server@root[/usr/local/src/imagick-2.2.0]#yum install php-devel
server@root[/usr/local/src/imagick-2.2.0]#phpize
server@root[/usr/local/src/imagick-2.2.0]#./configure
server@root[/usr/local/src/imagick-2.2.0]#make
server@root[/usr/local/src/imagick-2.2.0]#make install
Now create the phpinfo page and check the imagick module installed correctly or not….