Install Imagick PHP5.4 centos

Asked

Viewed 45 times

1

I am trying to install Imagick on a centos 5.11 server but so far without success.

When I execute: convert --version, I got the message

Version: Imagemagick 7.0.1-10 Q16 x86_64 2016-06-07 http://www.imagemagick.org Copyright: Copyright (C) 1999-2016 Imagemagick Studio LLC License: http://www.imagemagick.org/script/license.php Features: Cipher DPC HDRI Openmp Delegates (built-in): bzlib djvu fontconfig freetype jng jpeg openexr pangocairo png tiff wmf x xml zlib

When I execute pvp -v

PHP Warning: PHP Startup: Unable to load Dynamic library '/usr/lib64/php/modules/Imagick.so' - libtiff.so. 5: cannot open Shared Object file: No such file or directory in Unknown on line 0 PHP

Warning: PHP Startup: Unable to load Dynamic library '/usr/lib64/php/modules/Imagick.so' - libtiff.so. 5: cannot open Shared Object file: No such file or directory in Unknown on line 0

PHP 5.4.25 (cli) (built: Feb 10 2014 08:04:23) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies

I have uninstalled and installed Imagick several times and nothing happens, always get the same error.

  • your php is 64 or x86?

  • 64, but out of curiosity how do I check this after installed?

  • Using phpinfo(), tell me something, you compiled Imagick or did the installation via your linux repository?

  • I’m suspecting you have two php installations on your machine

  • if so, how would you remove the older...?

  • It depends a lot on how installed, I would remove everything and install again, is that I am user of apt-get which is not your case, so it is difficult to steer... Say one thing, you played the Imagick directly in the folder /usr/lib64/php/modules/ or put in ext folder?

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.