Imagick and wamp 2.2
Posted by: DJCMBear (---.dbsystems.co.uk)
Date: August 13, 2012 02:24PM

Is there any way to get imagick working with wamp 2.2 with Apache 2.2.22 and php 5.3.13?

I am able to use it via the exec and system functions but I need the dll extension working in order to be able to use the Imagick php class.

Can anyone help?

Options: ReplyQuote
Re: Imagick and wamp 2.2
Posted by: RiggsFolly (---.as13285.net)
Date: August 13, 2012 02:34PM

Have you checked out this

http://www.imagemagick.org/script/binary-releases.php

Options: ReplyQuote
Re: Imagick and wamp 2.2
Posted by: DJCMBear (---.dbsystems.co.uk)
Date: August 13, 2012 02:37PM

Yes I have done all that and I am able to use imagick but only with exec and system but when I lets say use $img = new Imagick; an error comes up saying unable to find class Imagick or something like that and I am in need of the class in wamp.

Options: ReplyQuote
Re: Imagick and wamp 2.2
Posted by: RiggsFolly (---.as13285.net)
Date: August 13, 2012 02:54PM

Is this any help



[www.elxsy.com]

Options: ReplyQuote
Re: Imagick and wamp 2.2
Posted by: DJCMBear (---.dbsystems.co.uk)
Date: August 13, 2012 03:25PM

No I followed all the steps but it still doesn't show in the registered modules list :/ I really need this module as well.

Options: ReplyQuote
Re: Imagick and wamp 2.2
Posted by: RiggsFolly (---.as13285.net)
Date: August 13, 2012 03:30PM

Is there anything noted in the php_error.log???

Options: ReplyQuote
Re: Imagick and wamp 2.2
Posted by: DJCMBear (---.dbsystems.co.uk)
Date: August 13, 2012 03:48PM

just this "Fatal error: Class 'Imagick' not found in C:\wamp\www\image\demo.php on line 2" I have php_imagick ticked but there is nothing about it in the phpinfo or on the wamp home page so it isn't loading the module.

Options: ReplyQuote
Re: Imagick and wamp 2.2
Posted by: RiggsFolly (---.as13285.net)
Date: August 13, 2012 03:51PM

Ok how about Apache error log
OR
The windows event viewer

Options: ReplyQuote
Re: Imagick and wamp 2.2
Posted by: DJCMBear (---.dbsystems.co.uk)
Date: August 13, 2012 03:54PM

I have this "PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.13/ext/php_imagick.dll' - %1 is not a valid Win32 application."

Options: ReplyQuote
Re: Imagick and wamp 2.2
Posted by: RiggsFolly (---.as13285.net)
Date: August 13, 2012 04:09PM

OK so there you are. You have not got the correct dll, maybe you got the 64 bit one by mistake or a VC6 version.

For PHP5.3.13 I think you need the VC9 compiled version

http://valokuva.org/outside-blog-content/imagick-windows-builds/php53/imagick-2.3.0-dev/

Go back and get the correct dll

Options: ReplyQuote
Re: Imagick and wamp 2.2
Posted by: DJCMBear (---.dbsystems.co.uk)
Date: August 13, 2012 04:11PM

Where can I find a win7 64bit vc9 dll? also what exe file do I need I got the ImageMagick-6.7.8-8-Q16-windows-dll.exe is this correct?

Options: ReplyQuote
Re: Imagick and wamp 2.2
Posted by: RiggsFolly (---.as13285.net)
Date: August 13, 2012 04:19PM

Well I guess thats your problem.

This [www.apachelounge.com] led me to this [image_magick.veidrodis.com]

which is a great long list of pre-compiled imagick versions.

Take your pick until you find one that does it for you.

Options: ReplyQuote
Re: Imagick and wamp 2.2
Posted by: DJCMBear (---.dbsystems.co.uk)
Date: August 13, 2012 04:46PM

I will give it ago but right now trying to find a way to change the dpi of an image using phmagick is doing my head in haha

Options: ReplyQuote
Re: Imagick and wamp 2.2
Posted by: RiggsFolly (---.as13285.net)
Date: August 13, 2012 05:25PM

OK,

Report back with what was required, just in case you are not the only one tryin this.

Options: ReplyQuote


Sorry, only registered users may post in this forum.