Trouble installing imagick php module

MagickWand for PHP is an object-oriented PHP interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning MagickWand for PHP.
Post Reply
aaronh
Posts: 6
Joined: 2012-12-19T10:10:14-07:00
Authentication code: 6789

Trouble installing imagick php module

Post by aaronh » 2012-12-28T11:21:47-07:00

I am trying to install the imagick module for php and I'm getting an error when installing it. The error says:

Code: Select all

	
   warning: php-pecl-imagick-2.3.0-2.fc12.remi.i586.rpm: Header V3 DSA signature: NOKEY, key ID 00f97f56
   error: Failed dependencies:
	/usr/bin/pecl is needed by php-pecl-imagick-2.3.0-2.fc12.remi.i586
	libMagickCore.so.2 is needed by php-pecl-imagick-2.3.0-2.fc12.remi.i586
	libMagickWand.so.2 is needed by php-pecl-imagick-2.3.0-2.fc12.remi.i586
	php(api) = 20090626 is needed by php-pecl-imagick-2.3.0-2.fc12.remi.i586
	php(zend-abi) = 20090626 is needed by php-pecl-imagick-2.3.0-2.fc12.remi.i586
	rpmlib(FileDigests) <= 4.6.0-1 is needed by php-pecl-imagick-2.3.0-2.fc12.remi.i586
	rpmlib(PayloadIsXz) <= 5.2-1 is needed by php-pecl-imagick-2.3.0-2.fc12.remi.i586

I know that means I have to install libMagickCore.so.2 & libMagickWand.so.2 and I tried installing the package for them and I get this:

Code: Select all

   warning: php-pecl-imagick-2.3.0-2.fc12.remi.i586.rpm: Header V3 DSA signature: NOKEY, key ID 00f97f56
   error: Failed dependencies:
	/usr/bin/pecl is needed by php-pecl-imagick-2.3.0-2.fc12.remi.i586
	libMagickCore.so.2 is needed by php-pecl-imagick-2.3.0-2.fc12.remi.i586
	libMagickWand.so.2 is needed by php-pecl-imagick-2.3.0-2.fc12.remi.i586
	php(api) = 20090626 is needed by php-pecl-imagick-2.3.0-2.fc12.remi.i586
	php(zend-abi) = 20090626 is needed by php-pecl-imagick-2.3.0-2.fc12.remi.i586
	rpmlib(FileDigests) <= 4.6.0-1 is needed by php-pecl-imagick-2.3.0-2.fc12.remi.i586
	rpmlib(PayloadIsXz) <= 5.2-1 is needed by php-pecl-imagick-2.3.0-2.fc12.remi.i586

Is there a package I can install that has all of these packages or do I install them separately?

User avatar
fmw42
Posts: 22105
Joined: 2007-07-02T17:14:51-07:00
Location: Sunnyvale, California, USA

Re: Trouble installing imagick php module

Post by fmw42 » 2012-12-28T12:17:10-07:00

I am not an expert on this, but you probably need to install IM first and then Imagick, but there is a newer version of Imagick at http://pecl.php.net/package/imagick/3.1.0RC2. Perhaps the version you were trying to install was not compatible with the more current versions of Imagemagick

For others to help, it might be a good idea to identify the version of Imagemagick being used and your platform

aaronh
Posts: 6
Joined: 2012-12-19T10:10:14-07:00
Authentication code: 6789

Re: Trouble installing imagick php module

Post by aaronh » 2012-12-28T12:27:42-07:00

That makes sense, I do already have ImageMagick installed. This is being done on a test server and I am trying to recreate a problem on my live server that is why I am installing an older version of ImageMagick. The other server is using ImageMagick 6.4.3.6-5.3 which is old. I am working on upgrading it but I want to do so on my test server first just incase I encounter any problems.

aaronh
Posts: 6
Joined: 2012-12-19T10:10:14-07:00
Authentication code: 6789

Re: Trouble installing imagick php module

Post by aaronh » 2012-12-28T14:08:10-07:00

Ok, I upgraded to 6.8.1 and I've downloaded the imagick module (3.1.0). I was able to extract the file but how do I install it?

I'm using SUSE 11 (it's x86)

Is pecl another package manager like yast?

User avatar
fmw42
Posts: 22105
Joined: 2007-07-02T17:14:51-07:00
Location: Sunnyvale, California, USA

Re: Trouble installing imagick php module

Post by fmw42 » 2012-12-28T15:27:19-07:00

Sorry, I do not know. I don't use Imagick much and when I do, it was already installed. Perhaps there is more help on the Imagick forum at viewforum.php?f=18. However, I understand that Imagick is not supported very well nor maintained by the developer any longer, it would appear. You may be better off just using PHP exec() calls to IM command line commands

Post Reply