Page 1 of 1

Windows Server 2012 R2 Install

Posted: 2016-06-21T07:06:15-07:00
by CTC
I am new to Image Magick and trying to get a install to fully work for IIS with php v >=7.

I have installed IM and it works via the command line. However no matter what I have tried reading posts etc. I get to the same point each time.
IM Version: ImageMagick 7.0.2-0 Q16 x64 2016-06-12 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib cairo flif freetype jng jp2 jpeg lcms lqr openexr pa
ngocairo png ps rsvg tiff webp xml lib
i have php 7.0, 7.0.1, 7.0.5 and 7.0.7 installed (separately) and working with IIS no issues.
imagick version 3.4.rc1 with Image magick
I get stuck with IM number of supported formats: 0
and
IM Supported formats no value.
what am I missing?

Re: Windows Server 2012 R2 Install

Posted: 2016-06-21T07:26:03-07:00
by snibgo
"IM number of supported formats: 0"
and
"IM Supported formats no value."
Where are those messages coming from? What are you trying when those message come out?

Did you install from pre-built binaries, or did you compile it yourself?

Does it work at the commnd line? If so, then I probably can't help, as I know nothing about PHP or Imagick.

Re: Windows Server 2012 R2 Install

Posted: 2016-06-21T07:38:11-07:00
by CTC
the messages are coming out of PHPInfo() under imagick module information.
I installed the prebuilrt binaries -
Yes it all works under the command - convert --version and magick wizard: wizard.jpg
magick wizard.jpg win:
all work.
I have gotten this far on 8 different installs of the windows binarys and imagick - they all end up with the 0 format no value supported formats

Re: Windows Server 2012 R2 Install

Posted: 2016-06-21T07:46:26-07:00
by snibgo
Okay, that sounds like the usual Imagick problem -- installation doesn't work. Imagick isn't written or maintained by the ImageMagick team. The general solution on these forums is: don't use Imagick. Instead, call ImageMagick through exec().

You might try installing v6 instead of v7.

Re: Windows Server 2012 R2 Install

Posted: 2016-06-21T08:11:14-07:00
by CTC
do you know where I can get php exec() example's from?

Re: Windows Server 2012 R2 Install

Posted: 2016-06-21T08:40:39-07:00
by snibgo
Type "PHP exec" into the search box top-right of this screen. Plenty of examples come up.