LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   PHP imagick Installation Error (https://www.linuxquestions.org/questions/linux-software-2/php-imagick-installation-error-936901/)

nikeshp 03-28-2012 11:01 AM

PHP imagick Installation Error
 
I'm trying to install PHP imagick using WHM.

Tried this through WHM -> Software -> Module Installers -> PHP Pecl (manage). -> “Install a PHP Pecl” enter “imagick” and click “Install Now” button

But the installation failed and showed the below error messages.

checking ImageMagick MagickWand API configuration program... configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
ERROR: `/root/tmp/pear/imagick/configure --with-imagick' failed
The imagick.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20060613


I also tried to install this using terminal. "pecl install imagick" This also failed with the same above error message.


Please help me to fix this issue.

Our PHP version is : PHP 5.2.17
OS : CentOS release 5.8 - 64 bit
WHM version : 11.30.6

Marchinkovas 03-28-2012 12:33 PM

Same issue - can anyone help?

knudfl 03-28-2012 12:51 PM

Quote:

Please provide a path to MagickWand-config or Wand-config program.
# yum install ImageMagick-devel

Provides /usr/bin/Wand-config

.

nikeshp 04-03-2012 09:57 AM

yum install ImageMagick-devel

It worked..!! I installed ImageMagick-devel after that successfully installed imagick module..


Thanks..


All times are GMT -5. The time now is 06:09 AM.