How to Install ImageMagick and Imagick PHP modules?

Install ImageMagick
ImageMagick is a powerful set of image manipulation utilities that you can access through your code to create, edit, and compose bitmap images. This article will help you to install ImageMagick and Imagick PHP modules.

ImageMagick is a powerful set of image manipulation utilities that you can access through your code to create, edit, and compose bitmap images. Many Web applications use ImageMagick to manipulate images. If you are an experienced programmer, you can use Perl or PHP to access ImageMagick’s convert utility.

You can install ImageMagick using the following steps:

 

1. Download the latest version of ImageMagick :

ftp://ftp.imagemagick.org/pub/ImageMagick

 

2. Unzip the downloaded package :

gunzip -c ImageMagick.tar.gz | tar xvf -

 

3. Enter the extracted folder and execute ./configure followed by “make” and “make install”.

4. After the installation is complete, use the following command to verify the installation
convert-version

 

Also, do not forget to install the Imagick PECL extension, and that’s what makes it complete. You can install it using the following steps:
( Note: If you have php-pear installed, just run “pecl install imagick” to install the module. I’m giving you the manual steps because sometimes it uses to fail. But still, you can try this first and only follow the steps given below if it didn’t work. )

1. Download the latest version from the following URL – http://pecl.php.net/package/imagick
2. Unzip the downloaded package.
3. Enter the extracted folder and run “phpize” and execute ./configure followed by “make” and “make install”.
Add the extension in the php.ini file and restart Apache.
4. Run the following command to verify the installation.

php -m | grep imagick

 

So that’s how you install ImageMagick and Imagick PHP modules.

Share this post

Services to Explore

Stay up to date!

Stay up to date with the Web Hosting, Cloud and Server Management Industry News and Tutorials!

We will send you only the relevant emails, and we respect your privacy. Please review our privacy policy for more info.

Linux Management Services

Focus on your business, and let us take care of your Linux Servers!
From what you are reading, it seems you are interested in Linux and related technologies. If you have a moment to spare, please take a look at our Linux Management Services plan, which might interest you even more!
Linux Management Plan

Value-Added Services

We have services that can help you run a successful business. With us, you don't have to worry about these areas because our experts will take care of it for you.

ServerHealers uses cookies.