Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 1 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

Your Answer

 
discard

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.