Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Well I'm a PHP developer who know few linux commands to get my job done.

I need to launch a symfony 1.4 website on Amazon EC2. Everything is fine except IMagick. I magick is also installed through following command:

sudo yum install ImageMagick

Its php lib is not installed/configured, if that do not happen with above command. In PHP, I'm using IMagick, but script is failing on IMagick. I know problem is with PHP IMagic extention but dont know how to fix that. On dev box, its as simple as turning it on on WAMP.

Can someone please suggest where should I look to confirm if IMagick PHP extention installed and configured correctly?

share|improve this question
up vote 2 down vote accepted

ImageMagick and PHP's imagick extension are separate entities. imagick depends on ImageMagick being installed, but isn't installed with it.

Typically, you'd install imagick with sudo pecl install imagick (you may need ImageMagick-devel and php-devel as well, I think). There are, depending on your repositories, also yum/apt packages that do it for you.

share|improve this answer
Thanks ceejayoz, finally the issue is fixed. However I also needed to run sudo yum install make glibc-devel gcc and sudo yum install ImageMagick-devel before sudo pecl install imagick. – Kapil Sharma Oct 13 '12 at 3:23

These worked for me:

yum install php-pecl-imagick

if running php 5.5

yum install php55-pecl-imagick

if running php 5.6

yum install php56-pecl-imagick

Still trying to find out how to include x11...

share|improve this answer
Thanks Great Post It resolved my Issue. :-) – Ramesh Chand Apr 20 at 12:40
Glad I could help, getting my points! – zeros-and-ones Apr 20 at 17:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.