View Single Post

  #6 (permalink)  
Old 04-21-2008
amit
 
Posts: n/a
Default Re: PHP and Image processing

On Apr 18, 4:10*am, Piotr <s...@poczta.onet.pl> wrote:
> Tim Roberts wrote:
> > It's a native extension. *That means the class is available without having
> > to import anything, just like the other extensions (for example, Postgres
> > or MySQL).

>
> Afaik, it's native from php 5.1.3.
> Also, it's still marked as experimental, and I'm not sure if it's
> bundled with windows version. Manual mentions the need to download
> binaries from imagemagic.org
>
> to Amit:
> After you download the extension binaries. Put the dll into your
> extensions direcotry, and make sure your php.ini files has following line:
> extension=php_imagick.dll
>
> best regards
> Piotr N



Hello Tim and Piotr,

Thanks for your response but I am not using Windows server instead
using using Linux which as far as I know it doesn't have dll file. Or
maybe the file you are taking about works for Linux as well. I'm new
to PHP and not familiar with these steps.

Ok, what I did was installing it from http://www.imagemagick.org/script/install-source.php
Then I followed all steps which finally after verification it was able
to create a GIF file. Now, I don't know how to include it in my code.
Once I tried to run it and PHP was complaining about new() operator.

Any advice is appreciated.

Regards.




Reply With Quote