So, kind of a specific title, but I imagine there are many out there in my shoes.

I set about this task over an hour ago, and just finally came to a solution. So, here’s the scoop.

You’ll see a lot of posts saying, “just pecl install imagick” and you’re off!

Well, it seems that you need to have the actual ImageMagick binary first. Then, once the binary is installed, you’re free to pecl install.

So, long story short, here’s what you need to do to get ImageMagick PHP-ready.

yum --enablerepo remi install ImageMagick ImageMagick-devel
pecl install imagick

Then, add the following to your php.ini

 extension=imagick.so

Then restart your Apache and you’re golden!

You may not have the remi repository setup on your system. I swear by it. It seems to provide more up-to-date versions than the default repos.  If you don’t want to use that repo, just remove it from the command.

If you do want to, you can enable the repo with

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

As seen in my other post: Setting up a new linux server

Tags:

Leave a Reply

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