This article will help you to install ImageMagick on Ubuntu, Debian & LinuxMint operating systems.
Step 1. Install Required Packages
First we need to install required packages in order to install ImageMagick and IMagick PHP extension.$ sudo apt-getinstall php5 php5-common gcc
Step 2. Install ImageMagick
After installing required packages, let’s install ImageMagick using following command. imagemagick package are available under default apt repositories.$ sudo apt-getinstall imagemagick
Step 3. Install ImageMagick PHP Extension
At this point you have successfully installed ImageMagick package on your system. Now are are going to install ImageMagick php extension, So that we can use it through php code.$ sudo apt-getinstall php5-imagick
Step 4. Restart Apache and Verify
After completing above steps you need to reload apache service to enable php exension using following command# service apache2 reloadNow verify that module is enabled properly.
# php -m | grep imagick imagickYou can also create phpinfo() file to view imagemagick on web browser.

Click here to read more details about ImageMagick setup and there uses.
Comments
Post a Comment