Help for a newbie

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
Xeofreestyler

Help for a newbie

Post by Xeofreestyler »

Hi guys
I hope this is the right place to ask this

Anyway I'm a graphic design student and I learned PHP a couple of years ago since it could come in handy sometime
and whaddaya know I need to use it for a project I'm doing

The thing is, it involves processing images (pretty large images) so I cant do this on a server
so I wanted to set up my own php server, but just for command line scripting (meaning I just want it to execute a PHP file without being shown in a browser etc)

so yeah I installed PHP 5 for windows and I want to install IMagick. I downloaded Q8-statick from http://valokuva.org/?page_id=50 and put extension=php_imagick_st-Q8.dll in php.ini
but now it gives me an error message when opening php.exe that php5ts.dll could not be found, and then the command prompt gives me the output
"Unable to load dynamic library 'php_imagick_st-Q8.dll' - could not find module
in unknown on line 0"

now guys I'm seriously way in over my head here lol
I just know how to solve problems and put that into syntax but I have no idea what I'm doing here

so yeah help would be really appreciated, my project is due in 2 weeks
justin

Re: Help for a newbie

Post by justin »

Just did the same thing, only I used the dyn instead of static.

Where did you put the dll?

I put mine in C:\PHP\ext\

My php.ini new lines look like this:
[Image Magick and Wand]
extension=php_imagick_dyn-Q8.dll
extension=php_magickwand_Q16_st.dll
I also installed ImageMagick:
http://www.imagemagick.org/download/bin ... static.exe
http://www.imagemagick.org/download/bin ... ws-dll.exe
I ended up doing both.
Xeofreestyler

Re: Help for a newbie

Post by Xeofreestyler »

okay I'm downloading those 2 files which you linked

but wait where did you get that php_magickwand_Q16_st.dll from? I hope I'm not blatantly overlooking something
maybe just link me the exact dll's you used before I screw up again lol

thanks for the help btw I really appreciate it
justin

Re: Help for a newbie

Post by justin »

Yea they move around a lot, try this link:
http://www.dirk.sh/dirk/magickwand/

Here is everything I did, really simple:
http://www.tehuber.com/article.php?stor ... 1105644786
I also have a mirror of dirk.sh since he's not building them anymore I'm guessing that link will die someday soon.

The new php.net site for winpecl should be up Q1 2009 that'll help people find this stuff.
Post Reply