How to install ImageMagick in CentOS

Hi friends, In this post I am going to explain the steps how to install ImageMagick to CentOS 6.X , in earlier posts we learned about Install or Upgrade wget in Ubuntu / CentOS. We need to follow below steps to install ImageMagick.

How to install ImageMagick in CentOS by Anil Kumar Panigrahi

How to install ImageMagick in CentOS by Anil Kumar Panigrahi

Step 1:

yum install php54w-devel.x86_64

Step 2:

yum install gcc*

Step 3:

yum install ImageMagick ImageMagick-devel ImageMagick-perl

Step 4:

pecl install imagick

Step 5:

echo extension=imagick.so >> /etc/php.ini

Step 6:

service httpd restart

Step 7:

php -m | grep imagick

Now we can use ImageMagick module in PHP applications

Anil Kumar Panigrahi

With more than 10 years experience in PHP and Founder of Anil Labs, a blog for PHP and related posts. contributed posts regarding CodeIgniter, CakePHP and Learn PHP online ... Contact : [email protected]

You may also like...

1 Response

  1. Rahul says:

    Must say Great Information.
    Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.